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
ad3af8b2
Commit
ad3af8b2
authored
Aug 09, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test fixup: no network shall be queried.
parent
8505ee49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
slapos/tests/slapformat.py
slapos/tests/slapformat.py
+10
-10
No files found.
slapos/tests/slapformat.py
View file @
ad3af8b2
...
...
@@ -387,15 +387,15 @@ class TestComputer(SlapformatMixin):
],
self
.
test_result
.
bucket
)
self
.
assertEqual
([
'ip addr list bridge'
,
#
'ip addr list bridge',
'groupadd slapsoft'
,
'useradd -d /software_root -g slapsoft -s /bin/false slapsoft'
,
'groupadd testuser'
,
'useradd -d /instance_root/partition -g testuser -s /bin/false -G slapsoft testuser'
,
'ip addr add ip/255.255.255.255 dev bridge'
,
'ip addr list bridge'
,
'ip addr add ip/ffff:ffff:ffff:ffff:: dev bridge'
,
'ip addr list bridge'
,
#
'ip addr add ip/255.255.255.255 dev bridge',
#
'ip addr list bridge',
#
'ip addr add ip/ffff:ffff:ffff:ffff:: dev bridge',
#
'ip addr list bridge',
],
self
.
fakeCallAndRead
.
external_command_list
)
...
...
@@ -425,11 +425,11 @@ class TestComputer(SlapformatMixin):
],
self
.
test_result
.
bucket
)
self
.
assertEqual
([
'ip addr list bridge'
,
'ip addr add ip/255.255.255.255 dev bridge'
,
'ip addr list bridge'
,
'ip addr add ip/ffff:ffff:ffff:ffff:: dev bridge'
,
'ip addr list bridge'
,
#
'ip addr list bridge',
#
'ip addr add ip/255.255.255.255 dev bridge',
#
'ip addr list bridge',
#
'ip addr add ip/ffff:ffff:ffff:ffff:: dev bridge',
#
'ip addr list bridge',
],
self
.
fakeCallAndRead
.
external_command_list
)
...
...
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