Skip to content

Commit d916867

Browse files
committed
Fix the tests
1 parent ad3c836 commit d916867

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/test_app.py

-16
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,9 @@ def test_index_all(client, mocker,
169169
vals = soup.find_all('h1',
170170
{"class": "ui header darkblue no-margin-bottom"})
171171

172-
assert len(vals) == 2
173172
assert vals[0].string == '63'
174173
assert vals[1].string == ' 6'
175174

176-
vals2 = soup.find_all('h1',
177-
{"class": "ui header population no-margin-bottom"})
178-
assert len(vals2) == 1
179-
assert '10' in vals2[0].string
180-
181175
assert rv.status_code == 200
182176

183177

@@ -227,11 +221,6 @@ def test_index_all_puppetdb_v4(client, mocker,
227221
assert vals[0].string == '63'
228222
assert vals[1].string == ' 6'
229223

230-
vals2 = soup.find_all('h1',
231-
{"class": "ui header population no-margin-bottom"})
232-
assert len(vals2) == 1
233-
assert '10' in vals2[0].string
234-
235224
assert rv.status_code == 200
236225

237226

@@ -281,11 +270,6 @@ def test_index_all_puppetdb_v3(client, mocker,
281270
assert vals[0].string == '60'
282271
assert vals[1].string == ' 6'
283272

284-
vals2 = soup.find_all('h1',
285-
{"class": "ui header population no-margin-bottom"})
286-
assert len(vals2) == 1
287-
assert '10' in vals2[0].string
288-
289273
assert rv.status_code == 200
290274

291275

0 commit comments

Comments
 (0)