diff options
Diffstat (limited to 'test/scenario_test/zapi_v3_test.py')
-rw-r--r-- | test/scenario_test/zapi_v3_test.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/scenario_test/zapi_v3_test.py b/test/scenario_test/zapi_v3_test.py index 28834cfb..a08550ec 100644 --- a/test/scenario_test/zapi_v3_test.py +++ b/test/scenario_test/zapi_v3_test.py @@ -25,6 +25,7 @@ import nose from noseplugin import OptionParser, parser_option from itertools import chain + class GoBGPTestBase(unittest.TestCase): @classmethod @@ -91,9 +92,6 @@ class GoBGPTestBase(unittest.TestCase): if __name__ == '__main__': - if os.geteuid() is not 0: - print "you are not root." - sys.exit(1) output = local("which docker 2>&1 > /dev/null ; echo $?", capture=True) if int(output) is not 0: print "docker not found" |