From eb185da8b730af636b130a2a5349d481705f9147 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Fri, 18 Oct 2024 09:32:07 -0700 Subject: [PATCH] assert IsNone --- test/test_s3.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_s3.py b/test/test_s3.py index 7a0b966b..cbf9d2e9 100644 --- a/test/test_s3.py +++ b/test/test_s3.py @@ -221,6 +221,10 @@ def test_sanity_secure(self): s3_client = s3_client_new(True, self.region) self.assertIsNotNone(s3_client) + def test_sanity_network_interface_names(self): + s3_client = s3_client_new(True, self.region, network_interface_names=("eth0", "invalid-network-interface")) + self.assertIsNone(s3_client) + def test_wait_shutdown(self): s3_client = s3_client_new(False, self.region) self.assertIsNotNone(s3_client)