File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 77
88@respx .mock
99@pytest .mark .django_db
10- def test_download_pretix_data_command (capsys ):
10+ def test_download_pretalx_data_command (capsys ):
1111 for url in [
1212 "https://pretalx.com/api/events/europython-2025/submissions/?questions=all" ,
1313 "https://pretalx.com/api/events/europython-2025/speakers/?questions=all" ,
@@ -20,17 +20,16 @@ def test_download_pretix_data_command(capsys):
2020
2121 # Minimal sanity checks
2222 stdout , stderr = capsys .readouterr () # capture stdout / stderr
23- assert "Downloading latest products" in stdout
24- assert "Downloading latest vouchers" in stdout
25- assert "Downloading latest orders" in stdout
23+ assert "Downloading latest speakers" in stdout
24+ assert "Downloading latest submissions" in stdout
2625 assert (
2726 PretalxData .objects .get (
28- resource = PretalxData .PretalxResource .submissions
27+ resource = PretalxData .PretalxResources .submissions
2928 ).content
3029 == []
3130 )
3231 assert (
33- PretalxData .objects .get (resource = PretalxData .PretalxResource .speakers ).content
32+ PretalxData .objects .get (resource = PretalxData .PretalxResources .speakers ).content
3433 == []
3534 )
3635
You can’t perform that action at this time.
0 commit comments