Skip to content

Commit 885c7eb

Browse files
committed
Make tests run faster by configuring mock
1 parent fa7bb26 commit 885c7eb

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)