Support dynamic ports
This commit is contained in:
@@ -5,9 +5,7 @@ from typing import Any
|
||||
|
||||
import httpx
|
||||
|
||||
from ..conftest import assert_dicts_compatible
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL, assert_dicts_compatible
|
||||
|
||||
|
||||
def test_add_filament(random_vendor: dict[str, Any]):
|
||||
|
||||
@@ -4,7 +4,7 @@ from typing import Any
|
||||
|
||||
import httpx
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL
|
||||
|
||||
|
||||
def test_delete_filament(random_vendor: dict[str, Any]):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,9 +4,7 @@ from typing import Any
|
||||
|
||||
import httpx
|
||||
|
||||
from ..conftest import assert_dicts_compatible
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL, assert_dicts_compatible
|
||||
|
||||
|
||||
def test_get_filament(random_vendor: dict[str, Any]):
|
||||
|
||||
@@ -4,9 +4,7 @@ from typing import Any
|
||||
|
||||
import httpx
|
||||
|
||||
from ..conftest import assert_dicts_compatible
|
||||
|
||||
URL = "http://spoolman:8000"
|
||||
from ..conftest import URL, assert_dicts_compatible
|
||||
|
||||
|
||||
def test_update_filament(random_vendor: dict[str, Any]):
|
||||
|
||||
Reference in New Issue
Block a user