Coverage for tests\test_frameworks.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-12-01 10:33 -0500

1import os 

2 

3import pytest 

4 

5import receptiviti 

6 

7receptiviti.readin_env() 

8 

9 

10@pytest.mark.skipif(condition=os.getenv("RECEPTIVITI_KEY") is None, reason="no API key") 

11def test_listing(): 

12 res = receptiviti.frameworks() 

13 assert res and isinstance(res, list)