From 3247bae51f62560b69fb7a55dfd91cea1125deac Mon Sep 17 00:00:00 2001 From: collerek Date: Wed, 9 Dec 2020 16:34:00 +0100 Subject: [PATCH] facepalm --- tests/test_inheritance_mixins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_inheritance_mixins.py b/tests/test_inheritance_mixins.py index f99068b..7e5aa51 100644 --- a/tests/test_inheritance_mixins.py +++ b/tests/test_inheritance_mixins.py @@ -130,9 +130,9 @@ async def test_fields_inherited_from_mixin(): .exclude_fields("updated_date") .get() ) - assert sub2.created_date == round_date_to_seconds(sub.created_date) + assert round_date_to_seconds(sub2.created_date) == round_date_to_seconds(sub.created_date) assert sub2.category.updated_date is not None - assert sub2.category.created_date == round_date_to_seconds(cat.created_date) + assert round_date_to_seconds(sub2.category.created_date) == round_date_to_seconds(cat.created_date) assert sub2.updated_date is None assert sub2.category.created_by == "Sam" assert sub2.category.updated_by == cat.updated_by