mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-31 14:30:13 +03:00
Fix Docker VM tests for container status detection on node creation
The create() method now calls _get_container_state() after creating the container to detect if the container is already running. Mock this method in all test_create_* tests so the new code path doesn't fail with KeyError: 'State' when the Docker.query mock response lacks a State field.
This commit is contained in:
parent
9712e9328a
commit
2adc09604c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user