Fix mixin tag test

This commit is contained in:
JonnyWong16 2021-02-06 20:35:47 -08:00
parent 88e69d4664
commit 6842a8d1da
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -11,7 +11,7 @@ def _test_mixins_tag(obj, attr, tag_method):
assert TEST_MIXIN_TAG in [tag.tag for tag in getattr(obj, attr)]
remove_tag_method(TEST_MIXIN_TAG)
obj.reload()
assert getattr(obj, attr) not in [tag.tag for tag in getattr(obj, attr)]
assert TEST_MIXIN_TAG not in [tag.tag for tag in getattr(obj, attr)]
def edit_collection(obj):