diff options
author | Muriithi Frederick Muriuki | 2018-03-18 08:54:03 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2018-03-18 08:54:03 +0300 |
commit | 55f42f8f972ab3940711fc7b5e39335bc35445b5 (patch) | |
tree | 3e71a62d0f95ed6fbd54eb0de82289613e23c2e1 | |
parent | 61a9e8663a3fb36ce4afbe26431e74e66621e175 (diff) | |
download | genenetwork2-55f42f8f972ab3940711fc7b5e39335bc35445b5.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") |