From daa878b9217d7d7e883ccc4ac351027a38ceb1fc Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 19 Jun 2023 11:10:05 +0200 Subject: [PATCH] tests++ --- test/test_doc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_doc.py b/test/test_doc.py index 133334b8..84d7186d 100644 --- a/test/test_doc.py +++ b/test/test_doc.py @@ -52,6 +52,10 @@ def test_attrs(): assert isinstance(v, Variable) assert v.is_enum_member + c = m.members["FOO_CONSTANT"] + assert isinstance(c, Variable) + assert not c.is_enum_member + def test_all_with_import_err(): mod = extract.load_module(extract.parse_spec(here / "import_err"))