diff --git a/tests/integration_tests/security/test_custom_seccomp.py b/tests/integration_tests/security/test_custom_seccomp.py index ffcedbbd653..1c7bec98337 100644 --- a/tests/integration_tests/security/test_custom_seccomp.py +++ b/tests/integration_tests/security/test_custom_seccomp.py @@ -6,8 +6,6 @@ import time from pathlib import Path -import requests - from framework import utils @@ -76,9 +74,10 @@ def test_failing_filter(uvm_plain, seccompiler): test_microvm.basic_config(vcpu_count=1) # Try to start the VM with error checking off, because it will fail. + # pylint: disable=bare-except try: test_microvm.start() - except requests.exceptions.ConnectionError: + except: pass # Give time for the process to get killed