mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
fix test
This commit is contained in:
parent
05b915b495
commit
ebede3075d
@ -1491,7 +1491,9 @@ class TestConfig(unittest.TestCase):
|
|||||||
"fps": 5,
|
"fps": 5,
|
||||||
},
|
},
|
||||||
"onvif": {
|
"onvif": {
|
||||||
"autotracking": {"movement_weights": "0, 1, 1.23, 2.34, 0.50"}
|
"autotracking": {
|
||||||
|
"movement_weights": "0, 1, 1.23, 2.34, 0.50, 1"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1504,6 +1506,7 @@ class TestConfig(unittest.TestCase):
|
|||||||
"1.23",
|
"1.23",
|
||||||
"2.34",
|
"2.34",
|
||||||
"0.5",
|
"0.5",
|
||||||
|
"1.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
def test_fails_invalid_movement_weights(self):
|
def test_fails_invalid_movement_weights(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user