This commit is contained in:
Thomas Farstrike
2026-01-13 01:19:02 +01:00
parent 128b9948f1
commit be95d84d12
+1 -1
View File
@@ -46,7 +46,7 @@ class TestConnectivityManagerWithNetwork(unittest.TestCase):
# Now import after network is mocked
# Need to reload the module to pick up the new network module
if 'mpos.net.connectivity_manager' in sys.modules:
del sys.modules['mpos.net.connectivity_manager']
del sys.modules['mpos.net.connectivity_manager'] # Maybe this doesn't suffic now that it's imported through mpos
# Import fresh
from mpos import ConnectivityManager