From 1278fca221b7e560f040dec2e6f4715c526ad2ce Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Thu, 6 Aug 2020 23:00:57 +0100 Subject: [PATCH] test_expected_localtype() was reversed in sense; fixed --- kepi/sombrero_sendpub/tests/test_fetch.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kepi/sombrero_sendpub/tests/test_fetch.py b/kepi/sombrero_sendpub/tests/test_fetch.py index 9334484..de51964 100644 --- a/kepi/sombrero_sendpub/tests/test_fetch.py +++ b/kepi/sombrero_sendpub/tests/test_fetch.py @@ -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