Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use API to get specifications #343

Merged
merged 21 commits into from
Dec 12, 2024
Merged

Use API to get specifications #343

merged 21 commits into from
Dec 12, 2024

Conversation

Pasarus
Copy link
Member

@Pasarus Pasarus commented Dec 4, 2024

Closes #291

Description

Use the API to get the specification for rundetection. Currently tested on staging and hard to test manually, recommend just code review.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.75%. Comparing base (eb19b19) to head (6e7a648).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #343      +/-   ##
==========================================
+ Coverage   93.22%   93.75%   +0.52%     
==========================================
  Files          14       14              
  Lines         723      736      +13     
==========================================
+ Hits          674      690      +16     
+ Misses         49       46       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Pasarus Pasarus marked this pull request as ready for review December 6, 2024 16:37
test/e2e_components/fake_fia_api/router.py Dismissed Show dismissed Hide dismissed
Copy link
Contributor

@HumzahJavid HumzahJavid left a comment

Choose a reason for hiding this comment

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

Overall it looks like a good job to me, easy to understand.
It does make more sense to have a fake fia api for the tests.

test/test_e2e.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Dagonite Dagonite left a comment

Choose a reason for hiding this comment

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

Looks good to me but a few questions.

Copy link
Contributor

@HumzahJavid HumzahJavid left a comment

Choose a reason for hiding this comment

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

Aside from those questions/comments. The patch looks clean and concise.

rundetection/specifications.py Show resolved Hide resolved
@Pasarus Pasarus merged commit 385c615 into main Dec 12, 2024
2 checks passed
@Pasarus Pasarus deleted the use_api_specifications branch December 12, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use FIA API to get specifications
3 participants