diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-06-30 13:28:18 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:42:28 +0200 |
| commit | 9f87ab4bbab048b527585929135cab80fafd9ef9 (patch) | |
| tree | 835e41c1660ab12a2f3299049d2e15f8495d3b4b /web-server/opendc/api/v2/topologies | |
| parent | 5c673272747ed14e5668b2f4301f0f853b400ee1 (diff) | |
Address a number of pylint issues
Diffstat (limited to 'web-server/opendc/api/v2/topologies')
| -rw-r--r-- | web-server/opendc/api/v2/topologies/topologyId/test_endpoint.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web-server/opendc/api/v2/topologies/topologyId/test_endpoint.py b/web-server/opendc/api/v2/topologies/topologyId/test_endpoint.py index d16f7ee2..48bd6846 100644 --- a/web-server/opendc/api/v2/topologies/topologyId/test_endpoint.py +++ b/web-server/opendc/api/v2/topologies/topologyId/test_endpoint.py @@ -9,8 +9,9 @@ def test_get_topology(client, mocker): 'fetch_one', return_value={ '_id': '1', + 'simulationId': '1', 'authorizations': [{ - 'topologyId': '1', + 'simulationId': '1', 'authorizationLevel': 'EDIT' }] }) @@ -28,8 +29,9 @@ def test_get_topology_not_authorized(client, mocker): 'fetch_one', return_value={ '_id': '1', + 'simulationId': '1', 'authorizations': [{ - 'topologyId': '2', + 'simulationId': '2', 'authorizationLevel': 'OWN' }] }) |
