summaryrefslogtreecommitdiff
path: root/opendc/api/v2/schedulers/test_endpoint.py
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-26 14:24:07 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-26 14:24:07 +0200
commit40185f6ddc9c4620c62273366a0fb491ecf2cad3 (patch)
tree1cf28a26c14ecffae0332dff3723da905905253b /opendc/api/v2/schedulers/test_endpoint.py
parent3ad26793527bf077e296d652d22a0e4234a9b98d (diff)
Implement scheduler endpoints
Diffstat (limited to 'opendc/api/v2/schedulers/test_endpoint.py')
-rw-r--r--opendc/api/v2/schedulers/test_endpoint.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/opendc/api/v2/schedulers/test_endpoint.py b/opendc/api/v2/schedulers/test_endpoint.py
new file mode 100644
index 00000000..a0bd8758
--- /dev/null
+++ b/opendc/api/v2/schedulers/test_endpoint.py
@@ -0,0 +1,2 @@
+def test_get_schedulers(client):
+ assert '200' in client.get('/api/v2/schedulers').status