Files
butterfly/test/selenium/test_404.py
2013-12-17 11:57:05 +01:00

5 lines
156 B
Python

def test_not_found(s):
s.get('http://localhost:29013/some_random_page')
h1 = s.find_element_by_css_selector('h1')
assert h1.text == 'Not Found'