Support dynamic ports
This commit is contained in:
+1
-3
@@ -4,9 +4,7 @@ from datetime import datetime, timezone
|
||||
|
||||
import httpx
|
||||
|
||||
from ..conftest import assert_dicts_compatible
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL, assert_dicts_compatible
|
||||
|
||||
|
||||
def test_add_vendor():
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
import httpx
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL
|
||||
|
||||
|
||||
def test_delete_vendor():
|
||||
|
||||
+1
-3
@@ -7,9 +7,7 @@ from typing import Any
|
||||
import httpx
|
||||
import pytest
|
||||
|
||||
from ..conftest import assert_lists_compatible
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL, assert_lists_compatible
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
import httpx
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL
|
||||
|
||||
|
||||
def test_get_vendor():
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
import httpx
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL
|
||||
|
||||
|
||||
def test_update_vendor():
|
||||
|
||||
Reference in New Issue
Block a user