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 d5e6077 commit 13746b5Copy full SHA for 13746b5
test/test_api.py
@@ -57,10 +57,11 @@ def test_url_construction(self):
57
a = api.InvenTreeAPI("http://localhost:1234", connect=False)
58
59
tests = {
60
- 'part': 'http://localhost:1234/api/part/',
61
- '/part': 'http://localhost:1234/api/part/',
62
- '/part/': 'http://localhost:1234/api/part/',
+ 'part/': 'http://localhost:1234/api/part/',
+ '/api/stock/': 'http://localhost:1234/api/stock/',
+ '/plugin/part/': 'http://localhost:1234/plugin/part/',
63
'order/so/shipment': 'http://localhost:1234/api/order/so/shipment/',
64
+ 'https://example.com/': 'https://example.com/',
65
}
66
67
for endpoint, url in tests.items():
0 commit comments