File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 7
7
8
8
@respx .mock
9
9
@pytest .mark .django_db
10
- def test_download_pretix_data_command (capsys ):
10
+ def test_download_pretalx_data_command (capsys ):
11
11
for url in [
12
12
"https://pretalx.com/api/events/europython-2025/submissions/?questions=all" ,
13
13
"https://pretalx.com/api/events/europython-2025/speakers/?questions=all" ,
@@ -20,17 +20,16 @@ def test_download_pretix_data_command(capsys):
20
20
21
21
# Minimal sanity checks
22
22
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
26
25
assert (
27
26
PretalxData .objects .get (
28
- resource = PretalxData .PretalxResource .submissions
27
+ resource = PretalxData .PretalxResources .submissions
29
28
).content
30
29
== []
31
30
)
32
31
assert (
33
- PretalxData .objects .get (resource = PretalxData .PretalxResource .speakers ).content
32
+ PretalxData .objects .get (resource = PretalxData .PretalxResources .speakers ).content
34
33
== []
35
34
)
36
35
You can’t perform that action at this time.
0 commit comments