mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-03 20:27:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			405 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			405 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import pytest
 | 
						|
 | 
						|
import datahub._version as datahub_version
 | 
						|
 | 
						|
 | 
						|
@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  # type: ignore[import-untyped]
 | 
						|
 | 
						|
    assert pkg_resources.get_distribution(datahub_version.__package_name__).version
 |