Skip to content

Commit

Permalink
Cleanup remove code for local testing via the IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey-Vervoort-KNMI committed Feb 8, 2024
1 parent ee306d5 commit d14ac6f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,3 @@ async def get_collection_metadata(request: Request) -> Collection:
# Include all routes
app.include_router(edr.router)
# app.include(records.router)

if __name__ == "__main__":
# For local testing via the IDE
import uvicorn

uvicorn.run("main:app", host="0.0.0.0", port=8008, reload=True)

1 comment on commit d14ac6f

@github-actions
Copy link

Choose a reason for hiding this comment

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

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py584621%23–68
datastore_pb2_grpc.py43430%2–225
dependencies.py22220%1–33
grpc_getter.py880%1–16
locustfile.py15150%1–31
main.py22220%3–51
metadata_endpoints.py19190%1–70
formatters
   \_\_init\_\_.py12650%16–32
   base_formatter.py7186%18
   covjson.py52198%69
routers
   \_\_init\_\_.py00100% 
   edr.py51510%2–157
   records.py00100% 
test
   test_covjson.py600100% 
TOTAL36923437% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
4 0 💤 0 ❌ 0 🔥 0.974s ⏱️

Please sign in to comment.