test_expected_localtype() was reversed in sense; fixed

status-serialisers
Marnanel Thurman 2020-08-06 23:00:57 +01:00
rodzic 404e418a26
commit 1278fca221
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -457,16 +457,14 @@ class TestFetchLocalUser(TestCase):
@httpretty.activate
def test_expected_localtype(self):
found = fetch('https://testserver/users/bob/outbox',
found = fetch('https://testserver/users/alice',
expected_type = Status, # obviously silly
expected_type_for_local = Person)
self.assertEqual(
found,
None,
self._alice,
)
class TestFetchStatus(TestCase):
pass