blakeblackshear.frigate/frigate
Nicolas Mowen c2465a46a8
Http tests (#3350)
* Set up for http tests

* Setup basics for testing and first test

* Add testing consts

* Cleanup db creation

* Add one more check to test

* Get event that does not exist

* Get events working with cleaner db

* Test retain / un-retain

* Test setting and deleting sub label

* Test getting list of sub labels

* Fix bug caught in tests

* Test deleting event

* Test geting list of events

* Expand test

* Test more event filters

* Write version module so tests don't fail on version import

* Test config

* Test recordings endpoint

* Formatting

* Remove unused imports

* Test stats

* Add cleanup files in const

* Add name to match other checks
2022-06-30 07:53:46 -05:00
..
test Http tests (#3350) 2022-06-30 07:53:46 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
app.py Ability to enable / disable motion detection via MQTT (#3117) 2022-04-26 07:29:28 -05:00
birdseye.png fix logo used for birdseye 2021-10-05 18:40:46 -05:00
config.py remove deprecated max_seconds config option 2022-06-01 06:50:09 -05:00
const.py add endpoint to submit to plus 2022-04-10 09:11:16 -05:00
edgetpu.py Modernizing Typing 2022-04-17 08:55:38 -05:00
events.py lint fixes 2022-04-16 09:08:10 -05:00
http.py Http tests (#3350) 2022-06-30 07:53:46 -05:00
log.py Add basic typing for multiple modules: 2022-04-15 07:01:43 -05:00
models.py type fixes 2022-04-18 06:52:13 -05:00
motion.py Allow improve_contrast to be toggled via mqtt (#3011) 2022-04-16 08:52:02 -05:00
mqtt.py Set motion switch on mqtt connection (#3149) 2022-04-26 19:09:53 -05:00
mypy.ini Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
object_processing.py mqtt motion adjustments 2022-05-15 07:45:04 -05:00
objects.py cleanup print statements 2022-04-16 09:08:10 -05:00
output.py Allow birdseye to be overridden at the camera level (#3083) 2022-04-15 06:59:30 -05:00
plus.py read plus api key from addon options 2022-06-30 07:19:40 -05:00
record.py remove deprecated max_seconds config option 2022-06-01 06:50:09 -05:00
stats.py Catch crash on no internet (#3246) 2022-05-26 10:04:33 -05:00
types.py Ability to enable / disable motion detection via MQTT (#3117) 2022-04-26 07:29:28 -05:00
util.py fix depreciated import from collections 2022-04-15 07:01:43 -05:00
video.py Ability to enable / disable motion detection via MQTT (#3117) 2022-04-26 07:29:28 -05:00
watchdog.py Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
zeroconf.py Add basic typing for multiple modules: 2022-04-15 07:01:43 -05:00