Skip to content

Commit 5403ecf

Browse files
committed
reactivate all regionalstatistik tests as API is responsive again
1 parent 3abf954 commit 5403ecf

13 files changed

+26506
-128
lines changed

tests/cassettes/11111-02-01-4.yaml

Lines changed: 252 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/12211-Z-11.yaml

Lines changed: 604 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/12411-01-01-4.yaml

Lines changed: 1155 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/13111-01-03-4.yaml

Lines changed: 1071 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/21311-01-01-4-B.yaml

Lines changed: 12850 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/32121-01-02-4.yaml

Lines changed: 1247 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/41312-01-01-4.yaml

Lines changed: 1676 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/52411-02-01-4.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
interactions:
2+
- request:
3+
body: area=all&compress=false&endyear=&format=ffcsv&language=de&name=52411-02-01-4&quality=off&regionalkey=&regionalvariable=&stand=&startyear=&timeslices=
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate
9+
Connection:
10+
- keep-alive
11+
Content-Length:
12+
- '149'
13+
Content-Type:
14+
- application/x-www-form-urlencoded
15+
User-Agent:
16+
- python-requests/2.32.3
17+
method: POST
18+
uri: https://www.regionalstatistik.de/genesisws/rest/2020/data/tablefile
19+
response:
20+
body:
21+
string: "<!doctype html>\r\n\r\n<html lang=\"de\">\r\n<head>\r\n <meta charset=\"utf-8\">\r\n\r\n
22+
\ <title></title>\r\n <meta name=\"description\" content=\"\">\r\n <meta
23+
name=\"author\" content=\"\">\r\n\r\n\t<style>\r\n@font-face {\r\n font-family
24+
\ : 'Statis Sans';\r\n src : url( \"/error/StatisSans-Regular.woff2\"
25+
) format( \"woff2\" ),\r\n url( \"/error/StatisSans-Regular.ttf\"
26+
\ ) format( \"truetype\" );\r\n font-weight : 400;\r\n font-style :
27+
normal;\r\n}\r\n@font-face {\r\n font-family : 'Statis Sans';\r\n src
28+
\ : url( \"/error/StatisSans-SemiBold.woff2\" ) format( \"woff2\"
29+
),\r\n url( \"/error/StatisSans-SemiBold.ttf\" ) format(
30+
\"truetype\" );\r\n font-weight : 600;\r\n font-style : normal;\r\n}\r\n\r\n
31+
\ \r\n\t* \r\n\t{\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t\tbox-sizing:
32+
border-box;\r\n\t\tfont-size: 18px;\r\n\t\tcolor: rgb(54, 75, 99);\r\n\t}\r\n\r\n\thtml\r\n\t{\r\n\t\tfont-family:
33+
Lato, \"Lucida Grande\", Tahoma, Sans-Serif;\r\n\t}\r\n\r\n\tbody\r\n\t{\r\n\t\t/*
34+
padding-top: 390px; */\r\n\t\tbackground-image: url(\"data:image/svg+xml,%3C%3Fxml
35+
version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='1867px' height='933px' viewBox='0
36+
0 1867 933' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3EPath
37+
14%3C/title%3E%3Cg id='GO-Pages' stroke='none' stroke-width='1' fill='none'
38+
fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath
39+
d='M6,685.512992 C58.5597871,598.43306 106.123333,512.226427 148.690636,426.893094
40+
C212.541592,298.893094 269.2125,876.130922 445.827305,654.783653 C622.442111,433.436383
41+
808.232292,124.893094 915,229.893094 C1021.76771,334.893094 1118.4247,467.526743
42+
1296,404.147482 C1473.5753,340.76822 1522.15746,6 1646.82938,6 C1729.944,6
43+
1801.47106,312.964365 1861.41057,926.893094' id='Path-14' stroke='%235B9AD7'
44+
stroke-width='11'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");\r\n\t\tbackground-repeat:
45+
no-repeat;\r\n\t\tbackground-size: cover;\r\n\t}\r\n\t \r\n\t#content\r\n\t{\r\n\t\tmargin:
46+
0 auto;\r\n\t\tmax-width: 800px;\r\n\t\twidth: 80vw;\r\n\t\theight: 100vh;\r\n\t\tbackground-color:
47+
rgba(255, 255, 255, 0.8);\r\n\t\tpadding: 80px;\r\n\t\tpadding-top: 390px;\r\n\t\tpadding-top:
48+
30vh;\r\n\t}\r\n\t \r\n\ta, p, span\r\n\t{\r\n\t\tfont-family: Statis Sans;\r\n\t\tfont-size:
49+
24px;\r\n\t\tcolor: #364B63;\r\n\t\tletter-spacing: 0.27px;\r\n\t}\r\n\r\n\th1\r\n\t{\r\n\t\tfont-family:
50+
Statis Sans;\r\n\t\tfont-size: 130px;\r\n\t\tcolor: #364B63;\r\n\t\tletter-spacing:
51+
1.44px;\r\n\t}\r\n \r\n\t</style>\r\n\r\n</head>\r\n\r\n<body>\r\n\r\n<div
52+
id=\"content\">\r\n\t<h1 style=\"font-size: 48px; margin-bottom: 40px; font-weight:
53+
bold;\">Ups, ein Fehler!</h1>\r\n\t<p>\r\n\t\t<span style=\"display: block;
54+
margin-bottom: 12px;\">Aktuelle Zahlen und Fakten finden Sie hier:</span>\r\n\t\t<a
55+
href=\"https://www.regionalstatistik.de\">https://www.regionalstatistik.de</a><br>\r\n\t</p>\r\n</div>\r\n
56+
\ \r\n</body>\r\n</html>"
57+
headers:
58+
Connection:
59+
- close
60+
Content-Length:
61+
- '2709'
62+
Date:
63+
- Wed, 11 Jun 2025 06:30:56 GMT
64+
Server:
65+
- webserver
66+
Strict-Transport-Security:
67+
- max-age=31536000;includeSubdomains; preload
68+
X-Content-Type-Options:
69+
- nosniff
70+
X-Frame-Options:
71+
- SAMEORIGIN
72+
X-XSS-Protection:
73+
- 1; mode=block
74+
status:
75+
code: 500
76+
message: ''
77+
version: 1

tests/cassettes/61511-01-03-4.yaml

Lines changed: 822 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/73111-01-01-4.yaml

Lines changed: 449 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)