add user to test, to avoid NeedToFetch

thingy_objects
Marnanel Thurman 2018-09-16 21:49:08 +01:00
rodzic 2b29a8e8e2
commit 22cf60d524
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -24,6 +24,9 @@ class TestActivity(TestCase):
"type": "Create",
})
fred = ThingUser(name="fred")
fred.save()
with self.assertRaisesMessage(ValueError, "Explicit objects must have an id"):
Activity.create({
"id": "https://example.com/id/1",