Skip to content

Commit

Permalink
fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 2, 2024
1 parent de5e537 commit 8c9026d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/test.py

This file was deleted.

16 changes: 16 additions & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import pytest
import pkg_resources

import pyvcell_fvsolver as fv

def test_version():
assert fv.__version__ == "0.0.1"

def test_version():
assert fv.version() is not None

# Skip all tests if pytest is not installed
pytestmark = pytest.mark.skipif(
pkg_resources.get_distribution("pytest") is None,
reason="pytest is not installed"
)

0 comments on commit 8c9026d

Please sign in to comment.