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

test: add host and show test fixtures

add loaddata.test make target
parent c7e65ca9
No related branches found
No related tags found
No related merge requests found
Pipeline #5659 passed
...@@ -40,6 +40,9 @@ loaddata.sample: ...@@ -40,6 +40,9 @@ loaddata.sample:
loaddata.custom: loaddata.custom:
$(POETRY_RUN_MANAGE) loaddata fixtures/custom/*.json $(POETRY_RUN_MANAGE) loaddata fixtures/custom/*.json
loaddata.test:
$(POETRY_RUN_MANAGE) loaddata fixtures/test/*.json
removestaleimages: removestaleimages:
$(POETRY_RUN_MANAGE) removestaleimages $(POETRY_RUN_MANAGE) removestaleimages
......
[
{
"model": "program.host",
"pk": 1,
"fields": {
"name": "Musikredaktion",
"is_active": true,
"email": "",
"biography": "",
"image": null,
"created_at": "2000-06-01 00:00Z",
"created_by": "loaddata"
}
}
]
[
{
"model": "program.show",
"pk": 1,
"fields": {
"predecessor": null,
"type": 3,
"funding_category": 1,
"name": "Musikprogramm",
"slug": "musikprogramm",
"image": null,
"logo": null,
"short_description": "Unmoderiertes Musikprogramm",
"description": "Unmoderiertes Musikprogramm",
"email": "musikredaktion@helsinki.at",
"cba_series_id": null,
"default_playlist_id": null,
"is_active": true,
"is_public": false,
"hosts": [
1
],
"owners": [],
"language": [],
"category": [],
"topic": [],
"music_focus": [],
"created_at": "2000-06-01 00:00Z",
"created_by": "loaddata"
}
}
]
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