diff options
Diffstat (limited to 'test/scenario_test/evpn_test.py')
-rw-r--r-- | test/scenario_test/evpn_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/scenario_test/evpn_test.py b/test/scenario_test/evpn_test.py index 6490cf58..a9d3c0e7 100644 --- a/test/scenario_test/evpn_test.py +++ b/test/scenario_test/evpn_test.py @@ -14,7 +14,6 @@ # limitations under the License. - from itertools import combinations import sys import time @@ -144,7 +143,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) |