Test parsing of preview round titles as well
This commit is contained in:
parent
9a9506174b
commit
ffa1e36b6f
@ -32,7 +32,7 @@ def test_extractDataFromHtml(dataProviderHtmlParser):
|
|||||||
assert actualResult.title == expected['title']
|
assert actualResult.title == expected['title']
|
||||||
assert participants == expected['participants']
|
assert participants == expected['participants']
|
||||||
|
|
||||||
@pytest.fixture(params=range(5))
|
@pytest.fixture(params=range(6))
|
||||||
def fixture_guessDataFromTitle(request):
|
def fixture_guessDataFromTitle(request):
|
||||||
cases = {
|
cases = {
|
||||||
'09.07.2022 - ETW, Solos Jun. Beginner Jive': {
|
'09.07.2022 - ETW, Solos Jun. Beginner Jive': {
|
||||||
@ -60,6 +60,11 @@ def fixture_guessDataFromTitle(request):
|
|||||||
'dance': 'Wiener Walzer',
|
'dance': 'Wiener Walzer',
|
||||||
'group': 'Jug.'
|
'group': 'Jug.'
|
||||||
},
|
},
|
||||||
|
'09.07.2022 - ETW, Solos Jugend Sichtung Wiener Walzer': {
|
||||||
|
'class_': 'Sichtung',
|
||||||
|
'dance': 'Wiener Walzer',
|
||||||
|
'group': 'Jug.'
|
||||||
|
},
|
||||||
}
|
}
|
||||||
keys = list(cases.keys())
|
keys = list(cases.keys())
|
||||||
key = keys[request.param]
|
key = keys[request.param]
|
||||||
|
Loading…
Reference in New Issue
Block a user