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

combined assertion tests for tests.integration.user_endpoints.test.test_current_user_save_and_unsave_tracks #1051

Closed
lishukie6588 opened this issue Dec 7, 2023 · 0 comments · Fixed by #1052

Comments

@lishukie6588
Copy link
Contributor

When performing integration test, the mentioned test performs assertion calls to 2 separate user endpoint functions at 2 separate points, resulting in an inconclusive assertion test result for the latter current_user_saved_tracks_delete method in the situation that the first assertion call fails after calling the current_user_saved_tracks_add method.

Specifically, as shown in the following screenshot of the unit test in the provided
test suite, you can see the unit test containing the 2 assertion calls in lines 285
and 291 below each time the 2 tested API endpoints were supposed to be called.

image

However, as shown in the following screenshot of the test results, only the
assertion call in line 285 was called and the one in line 291 was aborted and left
inconclusive due to the triggered false response of the first one.

image

@dieser-niko dieser-niko linked a pull request May 15, 2024 that will close this issue
stephanebruckert added a commit that referenced this issue May 30, 2024
* addressed issue 936

* publish branch

* 12/9/2023

* Update CHANGELOG.md

---------

Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
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 a pull request may close this issue.

1 participant