mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
add version to import test
This commit is contained in:
@ -1,2 +0,0 @@
|
||||
def test_import():
|
||||
import <MODULE_NAME> # noqa: F401
|
||||
4
tests/core/test_import_and_version.py
Normal file
4
tests/core/test_import_and_version.py
Normal file
@ -0,0 +1,4 @@
|
||||
def test_import():
|
||||
import <MODULE_NAME>
|
||||
version = <MODULE_NAME>.__version__
|
||||
assert isinstance(version, str)
|
||||
Reference in New Issue
Block a user