mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-03 12:07:40 +03:00
Fix tests
This commit is contained in:
parent
f03e1853b3
commit
2a3e362912
@ -119,6 +119,7 @@ class BaseTestHttp(unittest.TestCase):
|
|||||||
None,
|
None,
|
||||||
stats,
|
stats,
|
||||||
None,
|
None,
|
||||||
|
None,
|
||||||
)
|
)
|
||||||
|
|
||||||
def insert_mock_event(
|
def insert_mock_event(
|
||||||
|
|||||||
@ -113,7 +113,7 @@ class TestHttp(unittest.TestCase):
|
|||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def __init_app(self, updater: Any | None) -> Any:
|
def __init_app(self, updater: Any | None = None) -> Any:
|
||||||
return create_fastapi_app(
|
return create_fastapi_app(
|
||||||
FrigateConfig(**self.minimal_config),
|
FrigateConfig(**self.minimal_config),
|
||||||
self.db,
|
self.db,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user