Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
dd6c7876
Verified
Commit
dd6c7876
authored
8 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
test: update test fixtures Host -> Profile
parent
fc14c8ae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conftest.py
+4
-4
4 additions, 4 deletions
conftest.py
with
4 additions
and
4 deletions
conftest.py
+
4
−
4
View file @
dd6c7876
...
@@ -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
Host
Factory
()
return
Profile
Factory
()
@pytest.fixture
@pytest.fixture
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment