diff options
author | Muriithi Frederick Muriuki | 2018-02-21 12:51:34 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2018-02-21 12:51:34 +0300 |
commit | a8e328a105dac1d137c3d08653c9164d489332b3 (patch) | |
tree | fdcc2a615b6278bc5798528cea52c43c0431e475 /wqflask/utility/tools.py | |
parent | f8970931932ed9b32c078cf3f2a1203f50f73ab0 (diff) | |
download | genenetwork2-a8e328a105dac1d137c3d08653c9164d489332b3.tar.gz |
Simplify test. Check for content, rather than url
* The test functions were very similar, so this commit refactors out the
common test code to a single method, and passes in the data to the
test using the parameterized package.
* Check that the page content after a login attempt is the expected
content, rather than checking the url.
Diffstat (limited to 'wqflask/utility/tools.py')
0 files changed, 0 insertions, 0 deletions