mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-22 16:18:10 +00:00
14 lines
366 B
Python
14 lines
366 B
Python
import pytest
|
|
|
|
import datahub as datahub_metadata
|
|
|
|
|
|
@pytest.mark.filterwarnings(
|
|
"ignore:pkg_resources is deprecated as an API:DeprecationWarning"
|
|
)
|
|
def test_datahub_version():
|
|
# Simply importing pkg_resources checks for unsatisfied dependencies.
|
|
import pkg_resources
|
|
|
|
assert pkg_resources.get_distribution(datahub_metadata.__package_name__).version
|