Skip to content

Commit

Permalink
Make test_init.py use functions
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Feb 24, 2024
1 parent 0f819fb commit 983146a
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

import idlealign

assert hasattr(idlealign, "idlealign")
assert idlealign.__title__ == "idlealign"
assert hasattr(idlealign, "check_installed")
assert callable(
idlealign.check_installed,
)

def extension_exists() -> None:
assert hasattr(idlealign, "idlealign")
assert idlealign.__title__ == "idlealign"


def check_installed_exists() -> None:
assert hasattr(idlealign, "check_installed")
assert callable(
idlealign.check_installed,
)

0 comments on commit 983146a

Please sign in to comment.