Skip to content

Commit

Permalink
Reenable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wkobiela committed Jan 7, 2024
1 parent 53a1a66 commit 018d452
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion tests/test_createLinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ def test_createLinks_BulldogJob():

def test_createLinks_NoFluffJobs():
assert createLinks(site='NoFluffJobs', role="testing", lvl="junior,mid", city="Gdańsk") == \
"https://nofluffjobs.com/pl/praca-zdalna/testing?criteria=city%3DGdańsk%20%20seniority%3Djunior,mid"
"https://nofluffjobs.com/pl/praca-zdalna/testing?criteria=city%3DGdańsk%20%20seniority%3Djunior,mid"

def test_createLinks_JustjoinIt():
assert createLinks(site="JustjoinIt", role="testing", lvl="mid.senior", city="Gdańsk") == \
"https://justjoin.it/gdansk/testing/experience-level_mid.senior/remote_yes"
8 changes: 4 additions & 4 deletions tests/test_linksReachable.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_is_BulldogJob_reachable():
response = requests.get(link, timeout=120, headers=headers)
assert response.status_code == 200

# def test_is_JustJoinIt_reachable():
# link = 'https://justjoin.it/api/offers'
# response = requests.get(link, timeout=120)
# assert response.status_code == 200
def test_is_JustJoinIt_reachable():
link = createLinks(site="JustjoinIt", role="testing", lvl="mid.senior", city="Gdańsk")
response = requests.get(link, timeout=120)
assert response.status_code == 200

0 comments on commit 018d452

Please sign in to comment.