You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user