7 from nose import config
10 sys.path.append(os.getcwd())
11 sys.path.append(os.path.dirname(__file__))
15 from ryu.tests.test_lib import run_tests
18 if __name__ == '__main__':
21 # if a single test case was specified,
22 # we should only invoked the tests once
23 invoke_once = len(sys.argv) > 1
26 c = config.Config(stream=sys.stdout,
28 verbosity=int(os.environ.get('NOSE_VERBOSE', 3)),
30 traverseNamespace=True,
31 plugins=core.DefaultPluginManager())
32 c.configureWhere(ryu.tests.unit.__path__)
34 exit_status = run_tests(c)