diff options
Diffstat (limited to 'ctrack/core/tests/test_functional.py')
-rw-r--r-- | ctrack/core/tests/test_functional.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ctrack/core/tests/test_functional.py b/ctrack/core/tests/test_functional.py new file mode 100644 index 0000000..a802f22 --- /dev/null +++ b/ctrack/core/tests/test_functional.py @@ -0,0 +1,14 @@ +import pytest +from selenium import webdriver + + +@pytest.fixture +def browser(): + b = webdriver.Firefox() + yield b + b.quit() + + +def test_can_get_homepage(browser): + browser.get("http://localhost:8000") + assert "ctrack" in browser.title |