Skip to content

Commit

Permalink
tests: adding pytest and an import test
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Jan 18, 2024
1 parent 3e7688d commit 4b887ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Empty file added tests/__init__.py
Empty file.
8 changes: 8 additions & 0 deletions tests/test_import.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pytest


def test_import_map2loop():
try:
import map2loop
except ImportError:
pytest.fail("Failed to import map2loop module")

0 comments on commit 4b887ac

Please sign in to comment.