Spike: Facebook Page reached after the operator's Page click; scheduled post + photo created, read back byte-equal, deleted
gates / gates (push) Successful in 4m35s
gates / gates (push) Successful in 4m35s
Read phase passes (Page 1360018983863273, CREATE_CONTENT/MODERATE/ANALYZE, page token PAGE expires_at 0, three insights metrics alive on v26.0). Write test: removal check accepts Meta's code-10 'Object does not exist' (fixed without a row, 4 tests); run 1 evidence kept. R-914 READY, R-915 narrowed to Live mode.
This commit is contained in:
@@ -67,5 +67,19 @@ class Redact(unittest.TestCase):
|
||||
self.assertEqual(fb_probe.redact(fb_probe.TEST_TEXT, secrets=[]), fb_probe.TEST_TEXT)
|
||||
|
||||
|
||||
class GoneError(unittest.TestCase):
|
||||
def test_measured_code_10_does_not_exist(self):
|
||||
self.assertTrue(fb_probe.gone_error({"code": 10, "message": "(#10) Object does not exist, cannot be loaded due to missing permission"}))
|
||||
|
||||
def test_code_100(self):
|
||||
self.assertTrue(fb_probe.gone_error({"code": 100, "message": "Unsupported get request"}))
|
||||
|
||||
def test_other_code_10_is_not_removal(self):
|
||||
self.assertFalse(fb_probe.gone_error({"code": 10, "message": "(#10) Application does not have permission"}))
|
||||
|
||||
def test_success_body_is_not_removal(self):
|
||||
self.assertFalse(fb_probe.gone_error(None))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user