We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2333cb3 commit 75fdbffCopy full SHA for 75fdbff
minicps/utils.py
@@ -16,8 +16,6 @@
16
import os
17
18
from mininet.util import dumpNodeConnections
19
-from nose import with_setup
20
-
21
22
# logging {{{1
23
# https://docs.python.org/2/howto/logging.html
@@ -118,14 +116,6 @@ def teardown_func(test_name):
118
116
pass
119
117
120
121
-def with_named_setup(setup=None, teardown=None):
122
- def wrap(f):
123
- return with_setup(
124
- lambda: setup(f.__name__) if (setup is not None) else None,
125
- lambda: teardown(f.__name__) if (teardown is not None) else None)(f)
126
- return wrap
127
128
129
# TODO: test it
130
def _arp_cache_rtts(net, h1, h2):
131
"""Learning check on the first two ping ICMP packets RTT.
0 commit comments