From a4964f47a204b22de5ffe3be2c715c430f4e0dfe Mon Sep 17 00:00:00 2001 From: Rogi Solorzano Date: Tue, 11 Apr 2023 00:29:26 -0500 Subject: [PATCH] Test update --- wlan.test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wlan.test.py b/wlan.test.py index c03b5b1..142ba9d 100644 --- a/wlan.test.py +++ b/wlan.test.py @@ -1,9 +1,9 @@ from microtest import test, run, expect, mock_module, observe from mocks import MockNetwork, MockWlan import uasyncio -network = MockNetwork() -mock_module('network', network) +mock_module('network', MockNetwork()) from wlan import Wlan, TimeoutException, InvalidPasswordException, AccessPointUnreachableException, ConnectionFailedException, STAT_NO_IP +import network @test async def it_should_activate_the_wlan_interface_on_connect():