Skip to content

Commit

Permalink
Merge pull request #115 from ryansurf/pytest-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansurf authored Aug 13, 2024
2 parents 8de6450 + fd6bc40 commit 285a962
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ def test_seperate_args_and_get_location():
"""
location = ["location=pleasure_point_california"]
location_data = seperate_args_and_get_location(location)
assert "Santa Cruz County" in location_data["city"][0]
lat = location_data["lat"]
long = location_data["long"]
city = location_data["city"]
assert isinstance(lat, (int, float))
assert isinstance(long, (int, float))
assert "Pleasure Point" in str(city)

1 comment on commit 285a962

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src
   __init__.py00100% 
   api.py119794%32–36, 54, 76–77, 109–110
   art.py9367%32–33, 36
   cli.py250100% 
   dev_streamlit.py37370%1–86
   gpt.py10640%16–21, 32–45
   helper.py1243869%110, 121–125, 201–209, 221, 234–235, 266, 268–269, 292–293, 356–366, 373–381
   send_email.py24240%5–48
   server.py471079%55, 68–71, 87–91, 103–105
   settings.py220100% 
   streamlit_helper.py33330%5–90
TOTAL45015865% 

Tests Skipped Failures Errors Time
11 0 💤 0 ❌ 0 🔥 21.262s ⏱️

Please sign in to comment.