From dd6c7876fbca0ee2e09a1fc175013a6698b46cd9 Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Tue, 9 Jul 2024 12:04:13 -0400 Subject: [PATCH] test: update test fixtures Host -> Profile --- conftest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conftest.py b/conftest.py index 13c0c646..2acabcdd 100644 --- a/conftest.py +++ b/conftest.py @@ -8,12 +8,12 @@ from django.core.files.uploadedfile import SimpleUploadedFile from program.models import ( Category, FundingCategory, - Host, Image, Language, License, LinkType, MusicFocus, + Profile, RadioSettings, RRule, Schedule, @@ -26,13 +26,13 @@ from program.tests.factories import ( CategoryFactory, CommonUserFactory, FundingCategoryFactory, - HostFactory, ImageFactory, LanguageFactory, LicenseFactory, LinkTypeFactory, MusicFocusFactory, OwnerFactory, + ProfileFactory, RadioSettingsFactory, RRuleFactory, ScheduleFactory, @@ -58,8 +58,8 @@ def assert_data(response, data) -> None: @pytest.fixture -def host() -> Host: - return HostFactory() +def profile() -> Profile: + return ProfileFactory() @pytest.fixture -- GitLab