Message ID | 20231108172155.2129509-4-prestwoj@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | DPP PKEX Changes | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/autotests/testDPP/connection_test.py b/autotests/testDPP/connection_test.py index 0cab5ff1..f72a412d 100644 --- a/autotests/testDPP/connection_test.py +++ b/autotests/testDPP/connection_test.py @@ -148,8 +148,13 @@ class Test(unittest.TestCase): self.rule0.drop = True def tearDown(self): - self.device.disconnect() - self.device.dpp_stop() + # Tests end in various states, don't fail when tearing down. + try: + self.device.disconnect() + self.device.dpp_stop() + except: + pass + self.wpas.dpp_configurator_remove() self.wpas.clean_up()