Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nemu3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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
nexedi
nemu3
Commits
86079c84
Commit
86079c84
authored
Jul 29, 2010
by
Martín Ferrari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests broken last night
parent
783c58e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
t/test_interfaces.py
t/test_interfaces.py
+2
-1
t/test_protocol.py
t/test_protocol.py
+1
-1
No files found.
t/test_interfaces.py
View file @
86079c84
...
@@ -151,7 +151,8 @@ class TestWithDummy(unittest.TestCase):
...
@@ -151,7 +151,8 @@ class TestWithDummy(unittest.TestCase):
def
tearDown
(
self
):
def
tearDown
(
self
):
# oops here
# oops here
os
.
system
(
"ip link del %s"
%
self
.
dummyname
)
if
hasattr
(
self
,
'dummyname'
):
os
.
system
(
"ip link del %s"
%
self
.
dummyname
)
# FIXME: Links
# FIXME: Links
...
...
t/test_protocol.py
View file @
86079c84
...
@@ -108,7 +108,7 @@ class TestServer(unittest.TestCase):
...
@@ -108,7 +108,7 @@ class TestServer(unittest.TestCase):
check_error
(
self
,
"proc crte =a"
)
# invalid b64
check_error
(
self
,
"proc crte =a"
)
# invalid b64
# simulate proc mode
# simulate proc mode
srv
.
commands
=
netns
.
protocol
.
_proc_commands
srv
.
_
commands
=
netns
.
protocol
.
_proc_commands
check_error
(
self
,
"proc crte foo"
)
check_error
(
self
,
"proc crte foo"
)
check_error
(
self
,
"proc poll 0"
)
check_error
(
self
,
"proc poll 0"
)
check_error
(
self
,
"proc wait 0"
)
check_error
(
self
,
"proc wait 0"
)
...
...
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