Skip to content

Commit c437ee8

Browse files
Merge pull request #2624 from VWS-Python/dependabot/pip/pytest-8.4.0
Bump pytest from 8.3.5 to 8.4.0
2 parents c1e40f4 + 6b121e5 commit c437ee8

File tree

7 files changed

+1
-28
lines changed

7 files changed

+1
-28
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ optional-dependencies.dev = [
7373
"pyproject-fmt==2.6.0",
7474
"pyright==1.1.402",
7575
"pyroma==4.2",
76-
"pytest==8.3.5",
76+
"pytest==8.4.0",
7777
"pytest-cov==6.2.1",
7878
"pytest-retry==1.7.0",
7979
"pytest-xdist==3.7.0",

tests/conftest.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import uuid
99

1010
import pytest
11-
from beartype import beartype
1211
from vws import VWS, CloudRecoService
1312

1413
from mock_vws.database import VuforiaDatabase
@@ -21,7 +20,6 @@
2120
]
2221

2322

24-
@beartype
2523
@pytest.fixture(name="vws_client")
2624
def fixture_vws_client(vuforia_database: VuforiaDatabase) -> VWS:
2725
"""
@@ -33,7 +31,6 @@ def fixture_vws_client(vuforia_database: VuforiaDatabase) -> VWS:
3331
)
3432

3533

36-
@beartype
3734
@pytest.fixture
3835
def cloud_reco_client(vuforia_database: VuforiaDatabase) -> CloudRecoService:
3936
"""
@@ -45,7 +42,6 @@ def cloud_reco_client(vuforia_database: VuforiaDatabase) -> CloudRecoService:
4542
)
4643

4744

48-
@beartype
4945
@pytest.fixture(name="inactive_vws_client")
5046
def fixture_inactive_vws_client(inactive_database: VuforiaDatabase) -> VWS:
5147
"""
@@ -57,7 +53,6 @@ def fixture_inactive_vws_client(inactive_database: VuforiaDatabase) -> VWS:
5753
)
5854

5955

60-
@beartype
6156
@pytest.fixture
6257
def inactive_cloud_reco_client(
6358
inactive_database: VuforiaDatabase,
@@ -71,7 +66,6 @@ def inactive_cloud_reco_client(
7166
)
7267

7368

74-
@beartype
7569
@pytest.fixture
7670
def target_id(
7771
image_file_success_state_low_rating: io.BytesIO,
@@ -90,7 +84,6 @@ def target_id(
9084
)
9185

9286

93-
@beartype
9487
@pytest.fixture(
9588
params=[
9689
"add_target",
@@ -112,7 +105,6 @@ def endpoint(request: pytest.FixtureRequest) -> Endpoint:
112105
return endpoint_fixture
113106

114107

115-
@beartype
116108
@pytest.fixture(
117109
params=[
118110
pytest.param(
@@ -147,7 +139,6 @@ def not_base64_encoded_processable(request: pytest.FixtureRequest) -> str:
147139
return not_base64_encoded_string
148140

149141

150-
@beartype
151142
@pytest.fixture(
152143
params=[
153144
pytest.param(

tests/mock_vws/fixtures/credentials.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from pathlib import Path
66

77
import pytest
8-
from beartype import beartype
98
from pydantic_settings import BaseSettings, SettingsConfigDict
109

1110
from mock_vws.database import VuforiaDatabase
@@ -42,7 +41,6 @@ class _InactiveVuforiaDatabaseSettings(_VuforiaDatabaseSettings):
4241
)
4342

4443

45-
@beartype
4644
@pytest.fixture
4745
def vuforia_database() -> VuforiaDatabase:
4846
"""
@@ -59,7 +57,6 @@ def vuforia_database() -> VuforiaDatabase:
5957
)
6058

6159

62-
@beartype
6360
@pytest.fixture
6461
def inactive_database() -> VuforiaDatabase:
6562
"""

tests/mock_vws/fixtures/prepared_requests.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from typing import Any
1010

1111
import pytest
12-
from beartype import beartype
1312
from urllib3.filepost import encode_multipart_formdata
1413
from vws import VWS
1514
from vws_auth_tools import authorization_header, rfc_1123_date
@@ -36,7 +35,6 @@ def _wait_for_target_processed(vws_client: VWS, target_id: str) -> None:
3635
vws_client.wait_for_target_processed(target_id=target_id)
3736

3837

39-
@beartype
4038
@pytest.fixture
4139
def add_target(
4240
vuforia_database: VuforiaDatabase,
@@ -93,7 +91,6 @@ def add_target(
9391
)
9492

9593

96-
@beartype
9794
@pytest.fixture
9895
def delete_target(
9996
vuforia_database: VuforiaDatabase,
@@ -140,7 +137,6 @@ def delete_target(
140137
)
141138

142139

143-
@beartype
144140
@pytest.fixture
145141
def database_summary(vuforia_database: VuforiaDatabase) -> Endpoint:
146142
"""
@@ -183,7 +179,6 @@ def database_summary(vuforia_database: VuforiaDatabase) -> Endpoint:
183179
)
184180

185181

186-
@beartype
187182
@pytest.fixture
188183
def get_duplicates(
189184
vuforia_database: VuforiaDatabase,
@@ -232,7 +227,6 @@ def get_duplicates(
232227
)
233228

234229

235-
@beartype
236230
@pytest.fixture
237231
def get_target(
238232
vuforia_database: VuforiaDatabase,
@@ -280,7 +274,6 @@ def get_target(
280274
)
281275

282276

283-
@beartype
284277
@pytest.fixture
285278
def target_list(vuforia_database: VuforiaDatabase) -> Endpoint:
286279
"""
@@ -323,7 +316,6 @@ def target_list(vuforia_database: VuforiaDatabase) -> Endpoint:
323316
)
324317

325318

326-
@beartype
327319
@pytest.fixture
328320
def target_summary(
329321
vuforia_database: VuforiaDatabase,
@@ -371,7 +363,6 @@ def target_summary(
371363
)
372364

373365

374-
@beartype
375366
@pytest.fixture
376367
def update_target(
377368
vuforia_database: VuforiaDatabase,
@@ -422,7 +413,6 @@ def update_target(
422413
)
423414

424415

425-
@beartype
426416
@pytest.fixture
427417
def query(
428418
vuforia_database: VuforiaDatabase,

tests/mock_vws/fixtures/vuforia_backends.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ def pytest_collection_modifyitems(
235235
item.add_marker(marker=skip_docker_build_tests_marker)
236236

237237

238-
@beartype
239238
@pytest.fixture(
240239
name="verify_mock_vuforia",
241240
params=list(VuforiaBackend),
@@ -275,7 +274,6 @@ def fixture_verify_mock_vuforia(
275274
)
276275

277276

278-
@beartype
279277
@pytest.fixture(
280278
params=[item for item in VuforiaBackend if item != VuforiaBackend.REAL],
281279
ids=[

tests/mock_vws/test_docker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def wait_for_health_check(container: Container) -> None:
5151
raise ValueError(error_message)
5252

5353

54-
@beartype
5554
@pytest.fixture(name="custom_bridge_network")
5655
def fixture_custom_bridge_network() -> Iterator[Network]:
5756
"""Yield a custom bridge network which containers can connect to.

tests/mock_vws/test_flask_app_usage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import pytest
1212
import requests
1313
import responses
14-
from beartype import beartype
1514
from PIL import Image
1615
from requests_mock_flask import add_flask_app_to_mock
1716
from vws import VWS, CloudRecoService
@@ -27,7 +26,6 @@
2726
_EXAMPLE_URL_FOR_TARGET_MANAGER = "http://" + uuid.uuid4().hex + ".com"
2827

2928

30-
@beartype
3129
@pytest.fixture(autouse=True)
3230
def _(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
3331
"""

0 commit comments

Comments
 (0)