diff --git a/tests/test_schema.py b/tests/test_schema.py index c3547c26..f276414c 100644 --- a/tests/test_schema.py +++ b/tests/test_schema.py @@ -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")