From b01c2416854771f86f5e702975ee9625f8af130e Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 22 Jul 2020 14:25:42 +0200 Subject: [PATCH] bugfix econdary_workbench_link tag --- tests/test_tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tag.py b/tests/test_tag.py index 7b627ad3..ed97fee9 100644 --- a/tests/test_tag.py +++ b/tests/test_tag.py @@ -209,7 +209,7 @@ def test_tag_secondary_workbench_link_find(user: UserClient): """Creates and consumes tags with a secondary id, linking them through Workbench to a device and getting them through search.""" - t = Tag('foo', secondary='bar') + t = Tag('foo', secondary='bar', owner_id=user.user['id']) db.session.add(t) db.session.flush() assert Tag.from_an_id('bar').one() == t