aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-03-18 08:54:03 +0300
committerPjotr Prins2018-03-26 09:29:29 +0000
commit6a111c64c50ffe6daa387034ef8fc3ad3e90fc75 (patch)
treef97fef3eb4e2b9e258feb3a94b99a844c1ae7185 /test
parentb50e82383bfbf44e35f7376bbd13dd68e4e1f201 (diff)
downloadgenenetwork2-6a111c64c50ffe6daa387034ef8fc3ad3e90fc75.tar.gz
Move import to the top of the page.
* Mainly to tell the dependencies easily.
Diffstat (limited to 'test')
-rw-r--r--test/requests/main_web_functionality.py2
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")