From 259faf63088232f52dcccee6b4ec274283049456 Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Wed, 22 Nov 2023 06:41:02 -0800 Subject: [PATCH] Add test on comparing meta of different classes --- tests/entity/test_entity_meta.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/entity/test_entity_meta.py b/tests/entity/test_entity_meta.py index ce2d4af1..023c7021 100644 --- a/tests/entity/test_entity_meta.py +++ b/tests/entity/test_entity_meta.py @@ -93,3 +93,6 @@ def test_entity_meta_has_attributes_on_construction(self): "age", "id", ] # `relative_of` is ignored + + def test_meta_equality(self): + assert Person.meta_ != PersonAutoSSN.meta_