Removing whitespace from classes in radiator view

Signed-off-by: Mike Terzo <mike@terzo.org>
This commit is contained in:
Mike Terzo
2017-01-05 06:36:41 -05:00
parent fb6b8d2c0e
commit e2c45648b9
2 changed files with 6 additions and 8 deletions

View File

@@ -162,7 +162,6 @@ def test_radiator_view_bad_env(client, mocker):
assert soup.h1.text == 'Not Found' assert soup.h1.text == 'Not Found'
@pytest.mark.xfail
def test_radiator_view_division_by_zero(client, mocker): def test_radiator_view_division_by_zero(client, mocker):
mock_puppetdb_environments(mocker) mock_puppetdb_environments(mocker)
mock_puppetdb_default_nodes(mocker) mock_puppetdb_default_nodes(mocker)
@@ -182,7 +181,6 @@ def test_radiator_view_division_by_zero(client, mocker):
soup = BeautifulSoup(rv.data, 'html.parser') soup = BeautifulSoup(rv.data, 'html.parser')
assert soup.title.contents[0] == 'Puppetboard' assert soup.title.contents[0] == 'Puppetboard'
assert soup.h1.text != 'Not Found'
total = soup.find(class_='total') total = soup.find(class_='total')
assert '0' in total.text assert '0' in total.text