mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 00:11:15 +03:00
fix
This commit is contained in:
parent
d8b31c8529
commit
9db940e95b
@ -674,7 +674,7 @@ class TestProfilePersistence(unittest.TestCase):
|
||||
|
||||
written_data = {}
|
||||
|
||||
def mock_write(content):
|
||||
def mock_write(_self, content):
|
||||
written_data.update(json.loads(content))
|
||||
|
||||
with patch.object(
|
||||
@ -697,7 +697,7 @@ class TestProfilePersistence(unittest.TestCase):
|
||||
}
|
||||
written_data = {}
|
||||
|
||||
def mock_write(content):
|
||||
def mock_write(_self, content):
|
||||
written_data.update(json.loads(content))
|
||||
|
||||
config_data = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user