We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e27f6 commit 4e9c120Copy full SHA for 4e9c120
tests/test_schema.py
@@ -13,20 +13,6 @@ def test_field_schema(app_ctx):
13
assert test_schema.deserialize("string") == "string"
14
15
16
-def test_task_schema(app_ctx):
17
- test_schema = schema.TaskSchema()
18
- test_task_thread = ActionThread(None)
19
-
20
- with app_ctx.test_request_context():
21
- d = test_schema.dump(test_task_thread)
22
- assert isinstance(d, dict)
23
- assert "data" in d
24
- assert "links" in d
25
- assert isinstance(d.get("links"), dict)
26
- assert "self" in d.get("links")
27
- assert d.get("function") == "None(args=(), kwargs={})"
28
29
30
def test_extension_schema(app_ctx):
31
test_schema = schema.ExtensionSchema()
32
test_extension = BaseExtension("org.labthings.tests.extension")
0 commit comments