3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

test-runner: reset namespaces on test completion

This commit is contained in:
James Prestwood 2021-02-25 14:01:01 -08:00 committed by Denis Kenzior
parent 8f33926a75
commit 48d27c982d

View File

@ -913,6 +913,9 @@ class TestContext(Namespace):
return None
def stop_test_processes(self):
for n in self.namespaces:
n.reset()
self.namespaces = []
self.hostapd = None
self.wpas_interfaces = None