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

SFR-2179/get_collection_list #373

Merged
merged 3 commits into from
Sep 25, 2024
Merged

SFR-2179/get_collection_list #373

merged 3 commits into from
Sep 25, 2024

Conversation

ayan1229
Copy link
Contributor

  • This PR validates the api response for a query that returns collection list by title.
  • it also verifies that when the API is hit, it doesn't return an empty JSON body in response

@@ -19,4 +19,4 @@ def test_get_collection():

response_json = response.json()

assert response_json is not None
assert response_json is not None
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new line at eof


response_json = response.json()

assert response_json is not None
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new line at eof

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do you always want to keep an empty line at the end? or no lines

Copy link
Contributor

Choose a reason for hiding this comment

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

always a new line that is empty at the end of the file!

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm is test_get_list explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

renaming to test_get_collection_list

@ayan1229 ayan1229 merged commit cb855ab into main Sep 25, 2024
2 checks passed
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.

2 participants