kopia lustrzana https://github.com/snarfed/bridgy-fed
update test_redirect for snarfed/granary@ff1ac56a5b
rodzic
01768fd58e
commit
5486d2a2fa
|
@ -79,10 +79,7 @@ class RedirectTest(testutil.TestCase):
|
||||||
self.assertEqual(200, resp.status_code)
|
self.assertEqual(200, resp.status_code)
|
||||||
self.assertEqual(content_type, resp.content_type)
|
self.assertEqual(content_type, resp.content_type)
|
||||||
|
|
||||||
self.assertEqual({
|
self.assert_equals(REPOST_AS2, resp.json)
|
||||||
**REPOST_AS2,
|
|
||||||
'cc': [as2.PUBLIC_AUDIENCE],
|
|
||||||
}, resp.json)
|
|
||||||
|
|
||||||
def test_as2_deleted(self):
|
def test_as2_deleted(self):
|
||||||
with app.test_request_context('/'):
|
with app.test_request_context('/'):
|
||||||
|
|
Ładowanie…
Reference in New Issue