Chap1.1 Obey the Testing Goat! Do Nothing Until You Have a Test
This commit is contained in:
parent
d96795923e
commit
ee21fccd52
4
src/.gitignore
vendored
Normal file
4
src/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
db.sqlite3
|
||||
geckodriver.log
|
||||
virtualenv
|
||||
**__pycache__**
|
7
src/functional_tests.py
Normal file
7
src/functional_tests.py
Normal file
@ -0,0 +1,7 @@
|
||||
from selenium import webdriver
|
||||
|
||||
browser = webdriver.Firefox()
|
||||
browser.get('http://localhost:8000')
|
||||
|
||||
assert 'Django' in browser.title
|
||||
|
Loading…
x
Reference in New Issue
Block a user