File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -659,7 +659,7 @@ def test_paths_construction(self):
659
659
generator = SchemaGenerator (patterns = patterns )
660
660
generator ._initialise_endpoints ()
661
661
662
- paths = generator .get_paths ()
662
+ paths = generator .get_schema ()[ "paths" ]
663
663
664
664
assert '/example/' in paths
665
665
example_operations = paths ['/example/' ]
@@ -676,7 +676,7 @@ def test_prefixed_paths_construction(self):
676
676
generator = SchemaGenerator (patterns = patterns )
677
677
generator ._initialise_endpoints ()
678
678
679
- paths = generator .get_paths ()
679
+ paths = generator .get_schema ()[ "paths" ]
680
680
681
681
assert '/v1/example/' in paths
682
682
assert '/v1/example/{id}/' in paths
@@ -689,7 +689,7 @@ def test_mount_url_prefixed_to_paths(self):
689
689
generator = SchemaGenerator (patterns = patterns , url = '/api' )
690
690
generator ._initialise_endpoints ()
691
691
692
- paths = generator .get_paths ()
692
+ paths = generator .get_schema ()[ "paths" ]
693
693
694
694
assert '/api/example/' in paths
695
695
assert '/api/example/{id}/' in paths
You can’t perform that action at this time.
0 commit comments