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

test: update test fixtures Host -> Profile

parent fc14c8ae
No related branches found
No related tags found
No related merge requests found
...@@ -8,12 +8,12 @@ from django.core.files.uploadedfile import SimpleUploadedFile ...@@ -8,12 +8,12 @@ from django.core.files.uploadedfile import SimpleUploadedFile
from program.models import ( from program.models import (
Category, Category,
FundingCategory, FundingCategory,
Host,
Image, Image,
Language, Language,
License, License,
LinkType, LinkType,
MusicFocus, MusicFocus,
Profile,
RadioSettings, RadioSettings,
RRule, RRule,
Schedule, Schedule,
...@@ -26,13 +26,13 @@ from program.tests.factories import ( ...@@ -26,13 +26,13 @@ from program.tests.factories import (
CategoryFactory, CategoryFactory,
CommonUserFactory, CommonUserFactory,
FundingCategoryFactory, FundingCategoryFactory,
HostFactory,
ImageFactory, ImageFactory,
LanguageFactory, LanguageFactory,
LicenseFactory, LicenseFactory,
LinkTypeFactory, LinkTypeFactory,
MusicFocusFactory, MusicFocusFactory,
OwnerFactory, OwnerFactory,
ProfileFactory,
RadioSettingsFactory, RadioSettingsFactory,
RRuleFactory, RRuleFactory,
ScheduleFactory, ScheduleFactory,
...@@ -58,8 +58,8 @@ def assert_data(response, data) -> None: ...@@ -58,8 +58,8 @@ def assert_data(response, data) -> None:
@pytest.fixture @pytest.fixture
def host() -> Host: def profile() -> Profile:
return HostFactory() return ProfileFactory()
@pytest.fixture @pytest.fixture
......
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