Skip to content

Commit 13746b5

Browse files
Adjust URL tests
1 parent d5e6077 commit 13746b5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_api.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ def test_url_construction(self):
5757
a = api.InvenTreeAPI("http://localhost:1234", connect=False)
5858

5959
tests = {
60-
'part': 'http://localhost:1234/api/part/',
61-
'/part': 'http://localhost:1234/api/part/',
62-
'/part/': 'http://localhost:1234/api/part/',
60+
'part/': 'http://localhost:1234/api/part/',
61+
'/api/stock/': 'http://localhost:1234/api/stock/',
62+
'/plugin/part/': 'http://localhost:1234/plugin/part/',
6363
'order/so/shipment': 'http://localhost:1234/api/order/so/shipment/',
64+
'https://example.com/': 'https://example.com/',
6465
}
6566

6667
for endpoint, url in tests.items():

0 commit comments

Comments
 (0)