aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Kabui2021-02-11 08:43:37 +0300
committerBonfaceKilz2021-02-13 16:55:08 +0300
commit5f4ad48a7afaca3cf34266c1012efedb7ef2ec46 (patch)
treea53a438f9930a6d351bdf729c5acfd3f6cdd6034 /test
parent0cda88d6112ae0e4ae9ef5d4491a2d5695a07330 (diff)
downloadgenenetwork2-5f4ad48a7afaca3cf34266c1012efedb7ef2ec46.tar.gz
pep8 formatting
Diffstat (limited to 'test')
-rw-r--r--test/requests/links_scraper/genelinks.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/test/requests/links_scraper/genelinks.py b/test/requests/links_scraper/genelinks.py
index 3b8ce230..00a71d57 100644
--- a/test/requests/links_scraper/genelinks.py
+++ b/test/requests/links_scraper/genelinks.py
@@ -101,23 +101,14 @@ def fetch_page_links(page_url):
def webpages_to_check():
- pages = [
-
- "http://localhost:/5004",
-
-
-
-
-
-
- ]
+ pages = [f"http://localhost:{PORT}/"]
return pages
if __name__ == '__main__':
for page in webpages_to_check():
- fetch_page_links(f"http://localhost:{PORT}/")
+ fetch_page_links(page)
if BROKEN_LINKS is not None:
print("THE LINKS BELOW ARE BROKEN>>>>>>>>>>>>>")
for link in BROKEN_LINKS: