diff options
Diffstat (limited to 'test/scenario_test/bgp_zebra_nht_test.py')
-rw-r--r-- | test/scenario_test/bgp_zebra_nht_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scenario_test/bgp_zebra_nht_test.py b/test/scenario_test/bgp_zebra_nht_test.py index 7dd61212..9359328d 100644 --- a/test/scenario_test/bgp_zebra_nht_test.py +++ b/test/scenario_test/bgp_zebra_nht_test.py @@ -284,7 +284,7 @@ class ZebraNHTTest(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) |