FrameBridge 0.3.4 corresponding-source release
Snapshot assembled only from the signed corresponding-source archive. Source archive SHA-256: db91a270cdefc4be79056ed38a0b4a16747e1ab130592645eac40fa3809809df
This commit is contained in:
1 parent
b8c9b713d8
commit
cdd980e1eb
993 files changed
+255481
-1720
No files matched your search
@@ -141,6 +141,11 @@ class BackgroundTests(unittest.TestCase):
|
||||
record=json.loads(path.read_text());record['verified_at']=time.time()-30
|
||||
record['message']='\x1b[31m'+FAKE
|
||||
background._write(path,record)
|
||||
if record.get('heartbeat_backend') == background._HEARTBEAT_BACKEND:
|
||||
heartbeat_path=background._heartbeat_directory(self.state)/'status.json'
|
||||
heartbeat=background._read(heartbeat_path)
|
||||
heartbeat['verified_at']=time.time()-30
|
||||
background._write(heartbeat_path,heartbeat)
|
||||
current=background.status(self.state)
|
||||
self.assertFalse(current['verified'])
|
||||
self.assertEqual(current['state'],'retrying')
|
||||
|
||||
Reference in new issue
Block a user