mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Fix http tests
This commit is contained in:
parent
1f141b27ae
commit
a5f0f200ef
@ -213,7 +213,7 @@ class TestHttp(unittest.TestCase):
|
|||||||
assert event["id"] == id
|
assert event["id"] == id
|
||||||
client.delete(f"/events/{id}")
|
client.delete(f"/events/{id}")
|
||||||
event = client.get(f"/events/{id}").json()
|
event = client.get(f"/events/{id}").json()
|
||||||
assert not event
|
assert event == "Event not found"
|
||||||
|
|
||||||
def test_event_retention(self):
|
def test_event_retention(self):
|
||||||
app = create_fastapi_app(
|
app = create_fastapi_app(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user