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

fix: corrected query string for get_projects api #229

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

abhilash-kumar-nair
Copy link
Contributor

No description provided.

Copy link
Member

@iakovn iakovn left a comment

Choose a reason for hiding this comment

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

Could you add a test for this?
On a related topic - have you reviewed test coverage recently? We might have missed some other minor things as well.

@abhilash-kumar-nair
Copy link
Contributor Author

Could you add a test for this? On a related topic - have you reviewed test coverage recently? We might have missed some other minor things as well.

Unfortunately we couldn't have caught this one with unit test.. Need integration tests to catch such things since the filtering is done by the server. I can add a integration test. Here's the latest test coverage report - https://jenkins.modelon.com/internal/job/WAMSTeam/job/impact-client-python/job/project-type-fix/1/Test_20coverage_20report/. Its at 90 % but could be improved. :)

@abhilash-kumar-nair
Copy link
Contributor Author

Could you add a test for this? On a related topic - have you reviewed test coverage recently? We might have missed some other minor things as well.

Unfortunately we couldn't have caught this one with unit test.. Need integration tests to catch such things since the filtering is done by the server. I can add a integration test. Here's the latest test coverage report - https://jenkins.modelon.com/internal/job/WAMSTeam/job/impact-client-python/job/project-type-fix/1/Test_20coverage_20report/. Its at 90 % but could be improved. :)

Ah sorry you meant adding a test with a query parameter and checking if the query parameter was sent correctly? That can be done!

Copy link
Member

@iakovn iakovn left a comment

Choose a reason for hiding this comment

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

👍

@abhilash-kumar-nair abhilash-kumar-nair merged commit 02f1d19 into master Jun 13, 2023
1 check passed
@abhilash-kumar-nair abhilash-kumar-nair deleted the project-type-fix branch July 31, 2023 11:40
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.

None yet

2 participants