We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c7fdf commit f1efa97Copy full SHA for f1efa97
tests/test_api.py
@@ -16,6 +16,12 @@ class TestNetboxAPI():
16
def prepared_api(self):
17
return NetboxAPI(self.url)
18
19
+ def test_url_sanitizer(self):
20
+ complete_schema_url_netbox_api = NetboxAPI("http://test/api").url
21
+ no_schema_url_netbox_api = NetboxAPI("test/api/").url
22
+
23
+ assert complete_schema_url_netbox_api == no_schema_url_netbox_api
24
25
def test_build_model_route(self, prepared_api):
26
app = "test_app"
27
model = "test_model"
0 commit comments