Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
74a275d4
Commit
74a275d4
authored
Sep 18, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_slapproxy: use realistic address/netmask
(because it looks strange)
parent
1b68f7d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
slapos/tests/test_slapproxy.py
slapos/tests/test_slapproxy.py
+4
-4
No files found.
slapos/tests/test_slapproxy.py
View file @
74a275d4
...
@@ -129,8 +129,8 @@ database_uri = %(tempdir)s/lib/proxy.db
...
@@ -129,8 +129,8 @@ database_uri = %(tempdir)s/lib/proxy.db
computer_id
=
self
.
computer_id
computer_id
=
self
.
computer_id
computer_dict
=
{
computer_dict
=
{
'reference'
:
computer_id
,
'reference'
:
computer_id
,
'address'
:
'12
3.456.789
'
,
'address'
:
'12
.34.56.78
'
,
'netmask'
:
'
fffffffff
'
,
'netmask'
:
'
255.255.255.255
'
,
'partition_list'
:
[],
'partition_list'
:
[],
}
}
for
i
in
range
(
partition_amount
):
for
i
in
range
(
partition_amount
):
...
@@ -1221,8 +1221,8 @@ database_uri = %(tempdir)s/lib/external_proxy.db
...
@@ -1221,8 +1221,8 @@ database_uri = %(tempdir)s/lib/external_proxy.db
computer_id
=
self
.
external_computer_id
computer_id
=
self
.
external_computer_id
computer_dict
=
{
computer_dict
=
{
'reference'
:
computer_id
,
'reference'
:
computer_id
,
'address'
:
'12
3.456.789
'
,
'address'
:
'12
.34.56.78
'
,
'netmask'
:
'
fffffffff
'
,
'netmask'
:
'
255.255.255.255
'
,
'partition_list'
:
[],
'partition_list'
:
[],
}
}
for
i
in
range
(
partition_amount
):
for
i
in
range
(
partition_amount
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment