Rename __json__() to asdict()

This commit is contained in:
grossmj committed 2021-04-17 23:34:28 +09:30
1 parent 44074ff7c9
commit cefab8d362
89 files changed
+286 -282

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ async def test_list(controller):
async def test_json(controller):
vm = GNS3VM(controller)
assert vm.__json__() == vm._settings
assert vm.asdict() == vm._settings
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not working well on Windows")