diff options
Diffstat (limited to 'test/scenario_test/bgp_confederation_test.py')
-rw-r--r-- | test/scenario_test/bgp_confederation_test.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/scenario_test/bgp_confederation_test.py b/test/scenario_test/bgp_confederation_test.py index 9fdd4a74..9d24fdd6 100644 --- a/test/scenario_test/bgp_confederation_test.py +++ b/test/scenario_test/bgp_confederation_test.py @@ -14,8 +14,6 @@ # limitations under the License. - - import sys import time import unittest @@ -148,7 +146,7 @@ class GoBGPTestBase(unittest.TestCase): if __name__ == '__main__': output = local("which docker 2>&1 > /dev/null ; echo $?", capture=True) - if int(output) is not 0: + if int(output) != 0: print("docker not found") sys.exit(1) |