mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 14:58:13 +00:00
Rename __json__() to asdict()
This commit is contained in:
@ -53,7 +53,7 @@ async def vm(compute_project, manager):
|
||||
|
||||
def test_json(vm, compute_project):
|
||||
|
||||
assert vm.__json__() == {
|
||||
assert vm.asdict() == {
|
||||
'container_id': 'e90e34656842',
|
||||
'image': 'ubuntu:latest',
|
||||
'name': 'test',
|
||||
|
Reference in New Issue
Block a user