From d595e87e10ba4c96a2cb9d5871ea3ffdc75430f1 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Tue, 3 Sep 2024 12:50:26 -0700 Subject: [PATCH] failing test for revalidation --- tests/test_interface/test_interface.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_interface/test_interface.py b/tests/test_interface/test_interface.py index e8fbe85..1856578 100644 --- a/tests/test_interface/test_interface.py +++ b/tests/test_interface/test_interface.py @@ -151,3 +151,10 @@ def test_interface_recursive(interfaces): assert issubclass(interfaces.interface3, interfaces.interface1) assert issubclass(interfaces.interface1, Interface) assert interfaces.interface4 in ifaces + + +def test_interface_revalidate(all_interfaces): + """ + An interface should revalidate with the output of its initial validation + """ + _ = type(all_interfaces)(array=all_interfaces.array)