Skip to content

Commit

Permalink
tests++
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Jun 19, 2023
1 parent ac48e92 commit daa878b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit daa878b

Please sign in to comment.