kopia lustrzana https://gitlab.com/marnanel/chapeau
add user to test, to avoid NeedToFetch
rodzic
2b29a8e8e2
commit
22cf60d524
|
@ -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",
|
||||
|
|
Ładowanie…
Reference in New Issue