kopia lustrzana https://gitlab.com/marnanel/chapeau
ThingUser -> _create_person
rodzic
824c082011
commit
0b1dcade3f
|
@ -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',
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue