mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 10:49:00 +03:00
fix
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user