ThingUser -> _create_person

2019-08-17
Marnanel Thurman 2019-05-24 20:43:44 +01:00
rodzic 824c082011
commit 0b1dcade3f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
from django.test import TestCase from django.test import TestCase
from django_kepi.embellish import embellish from django_kepi.embellish import embellish
from things_for_testing.models import ThingUser from . import _create_person
import logging import logging
logger = logging.getLogger(name='django_kepi') logger = logging.getLogger(name='django_kepi')
@ -34,7 +34,7 @@ class TestEmbellish(TestCase):
# (plus "published") # (plus "published")
# (plus "conversation", wtf?) # (plus "conversation", wtf?)
user = ThingUser( user = _create_person(
name = 'Fred', name = 'Fred',
url = 'https://example.com/users/fred', url = 'https://example.com/users/fred',
) )