Skip to content

Commit

Permalink
Add test on version
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenain committed Feb 8, 2023
1 parent 0de67e5 commit 5c2f3e1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
prune src/nectarchain/_dev_version
prune .github
exclude .gitignore

global-exclude *.pyc *.o
3 changes: 3 additions & 0 deletions src/nectarchain/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .version import __version__

__all__ = ['__version__']
4 changes: 4 additions & 0 deletions src/nectarchain/tests/test_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def test_version():
from nectarchain import __version__

assert __version__ != '0.0.0'

0 comments on commit 5c2f3e1

Please sign in to comment.