Skip to content

Commit

Permalink
Remove old Task schema test
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Sep 9, 2020
1 parent 31e27f6 commit 4e9c120
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ def test_field_schema(app_ctx):
assert test_schema.deserialize("string") == "string"


def test_task_schema(app_ctx):
test_schema = schema.TaskSchema()
test_task_thread = ActionThread(None)

with app_ctx.test_request_context():
d = test_schema.dump(test_task_thread)
assert isinstance(d, dict)
assert "data" in d
assert "links" in d
assert isinstance(d.get("links"), dict)
assert "self" in d.get("links")
assert d.get("function") == "None(args=(), kwargs={})"


def test_extension_schema(app_ctx):
test_schema = schema.ExtensionSchema()
test_extension = BaseExtension("org.labthings.tests.extension")
Expand Down

0 comments on commit 4e9c120

Please sign in to comment.