diff options
author | zsloan | 2018-04-16 22:23:19 +0000 |
---|---|---|
committer | zsloan | 2018-04-16 22:23:19 +0000 |
commit | 35913e15bb6ac93c429e9465ebc36215cc6350ea (patch) | |
tree | d0eaff3a15bb167d995f1459ee7e744697f137b3 /test/requests/navigation_tests.py | |
parent | 273b79a0c2096a2eae5ce9aa2800917437459f68 (diff) | |
parent | f511e38a9b440d08313471cdcc7bfd99add98f70 (diff) | |
download | genenetwork2-35913e15bb6ac93c429e9465ebc36215cc6350ea.tar.gz |
Resolved conflicts after pulling changes
Diffstat (limited to 'test/requests/navigation_tests.py')
-rw-r--r-- | test/requests/navigation_tests.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/requests/navigation_tests.py b/test/requests/navigation_tests.py new file mode 100644 index 00000000..eda27324 --- /dev/null +++ b/test/requests/navigation_tests.py @@ -0,0 +1,15 @@ +from __future__ import print_function +import re +import requests +from lxml.html import parse + +def check_navigation(args_obj, parser): + print("") + print("Checking navigation.") + + host = args_obj.host + url = host + "/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P" + print("URL: ", url) + page = requests.get(url) + # Page is built by the javascript, hence using requests fails for this. + # Investigate use of selenium maybe? |