Skip to content

Commit cbc71a9

Browse files
Merge pull request #2315 from VWS-Python/faster-tests
Make tests run faster by configuring mock
2 parents fa7bb26 + 885c7eb commit cbc71a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def mock_database() -> Generator[VuforiaDatabase, None, None]:
1818
"""
1919
Yield a mock ``VuforiaDatabase``.
2020
"""
21-
with MockVWS() as mock:
21+
# We use a low processing time so that tests run quickly.
22+
with MockVWS(processing_time_seconds=0.2) as mock:
2223
database = VuforiaDatabase()
2324
mock.add_database(database=database)
2425
yield database

0 commit comments

Comments
 (0)