drf-yasg/tests/test_schema_structure.py

3 lines
82 B
Python

def test_paths_not_empty(swagger_dict):
assert len(swagger_dict['paths']) > 0