diff options
author | Muriithi Frederick Muriuki | 2018-03-18 08:54:03 +0300 |
---|---|---|
committer | Pjotr Prins | 2018-03-26 09:29:29 +0000 |
commit | 6a111c64c50ffe6daa387034ef8fc3ad3e90fc75 (patch) | |
tree | f97fef3eb4e2b9e258feb3a94b99a844c1ae7185 | |
parent | b50e82383bfbf44e35f7376bbd13dd68e4e1f201 (diff) | |
download | genenetwork2-6a111c64c50ffe6daa387034ef8fc3ad3e90fc75.tar.gz |
Move import to the top of the page.
* Mainly to tell the dependencies easily.
-rw-r--r-- | test/requests/main_web_functionality.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/requests/main_web_functionality.py b/test/requests/main_web_functionality.py index f6b32340..7b89b833 100644 --- a/test/requests/main_web_functionality.py +++ b/test/requests/main_web_functionality.py @@ -2,6 +2,7 @@ from __future__ import print_function import re import requests from lxml.html import parse +from link_checker import check_page from requests.exceptions import ConnectionError def check_home(url): @@ -25,7 +26,6 @@ def check_search_page(host): check_traits_page(host, "/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P") def check_traits_page(host, traits_url): - from link_checker import check_page doc = parse(host+traits_url).getroot() traits_form = doc.forms[1] assert(traits_form.fields["corr_dataset"] == "HC_M2_0606_P") |