Skip to content
Snippets Groups Projects
Verified Commit 408d7b6d authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

test: update test factories Host -> Profile

parent dd6c7876
No related branches found
No related tags found
No related merge requests found
......@@ -9,13 +9,13 @@ from django.utils.timezone import now
from program.models import (
Category,
FundingCategory,
Host,
Image,
Language,
License,
LinkType,
MusicFocus,
Note,
Profile,
RadioSettings,
RRule,
Schedule,
......@@ -54,11 +54,11 @@ class UserWithPermissionsFactory(DjangoModelFactory):
self.user_permissions.add(permission)
class HostFactory(DjangoModelFactory):
class ProfileFactory(DjangoModelFactory):
class Meta:
model = Host
model = Profile
name = Sequence(lambda n: "host %d" % n)
name = Sequence(lambda n: "profile %d" % n)
class ImageFactory(DjangoModelFactory):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment