Skip to content

Commit 4e9c120

Browse files
author
Joel Collins
committed
Remove old Task schema test
1 parent 31e27f6 commit 4e9c120

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/test_schema.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@ def test_field_schema(app_ctx):
1313
assert test_schema.deserialize("string") == "string"
1414

1515

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-
3016
def test_extension_schema(app_ctx):
3117
test_schema = schema.ExtensionSchema()
3218
test_extension = BaseExtension("org.labthings.tests.extension")

0 commit comments

Comments
 (0)