Skip to content

Commit 48c46bb

Browse files
committed
Add missing await to mock coroutine
1 parent 924083f commit 48c46bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tools/test_network_backup_restore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async def mock_startup(self, *, force_form):
235235
ControllerApplication, "startup", side_effect=mock_startup, autospec=True
236236
)
237237

238-
def mock_load_network_info(self, *args, **kwargs):
238+
async def mock_load_network_info(self, *args, **kwargs):
239239
self.network_info = BARE_NETWORK_INFO
240240
self.node_info = BARE_NODE_INFO
241241

0 commit comments

Comments
 (0)