This commit is contained in:
Thomas Farstrike
2026-01-13 01:47:18 +01:00
parent 4f48eb326e
commit 9489a5eb5f
+1 -1
View File
@@ -51,7 +51,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'] # Maybe this doesn't suffic now that it's imported through mpos
del sys.modules['mpos.net.connectivity_manager']
# Import fresh
from mpos.net.connectivity_manager import ConnectivityManager