]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py
tests: fixing pytest.skip error.
[mirror_frr.git] / tests / topotests / bgp_large_community / test_bgp_large_community_topo_1.py
index fe9e8504adadaa12a2ebb20b05288e9a6bbb17dd..dc06b7131a5c336e05b50345132d785d1d501b2f 100755 (executable)
@@ -145,8 +145,8 @@ def setup_module(mod):
     """
     # Required linux kernel version for this suite to run.
     result = required_linux_kernel_version('4.15')
-    if result:
-        pytest.skip(result)
+    if result is not True:
+        pytest.skip("Kernel requirements are not met")
 
     global ADDR_TYPES
     testsuite_run_time = time.asctime(time.localtime(time.time()))