diff options
author | zsloan | 2020-08-20 12:21:48 -0500 |
---|---|---|
committer | zsloan | 2020-08-20 12:21:48 -0500 |
commit | 97a662c900d0856c21a36ec42c50eb87898bcfb2 (patch) | |
tree | 88540a3d1196e6b689317ac18808631b9090c87f /test/requests/link_checker.py | |
parent | 72e7b028060c04bb210064f4de263c46b700921f (diff) | |
parent | 5d7e1f1fcf2f262a42b64a7aa42edeb3e53ee71c (diff) | |
download | genenetwork2-97a662c900d0856c21a36ec42c50eb87898bcfb2.tar.gz |
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing
Diffstat (limited to 'test/requests/link_checker.py')
-rw-r--r-- | test/requests/link_checker.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py index 715f330c..0e333f43 100644 --- a/test/requests/link_checker.py +++ b/test/requests/link_checker.py @@ -79,3 +79,24 @@ def check_links(args_obj, parser): check_page( host, host+"/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P") + + +def check_packaged_js_files(args_obj, parser): + host = args_obj.host + js_files = [ + # Datatables Extensions: + "/DataTablesExtensions/buttonsBootstrap/css/buttons.bootstrap.css", + "/DataTablesExtensions/buttons/js/dataTables.buttons.min.js", + "/DataTablesExtensions/buttonStyles/css/buttons.dataTables.min.css", + "/DataTablesExtensions/buttons/js/dataTables.buttons.min.js", + "/DataTablesExtensions/plugins/sorting/natural.js", + "/DataTablesExtensions/colResize/dataTables.colResize.js", + "/DataTablesExtensions/colReorder/js/dataTables.colReorder.js", + "/DataTablesExtensions/buttons/js/buttons.colVis.min.js", + "/DataTables/js/jquery.dataTables.js", + "/DataTablesExtensions/scroller/css/scroller.dataTables.min.css", + ] + + print("Checking links") + for link in js_files: + verify_link(host+link) |