test: remove legacy Flask unittest suite (tests/backend)#7271
Open
prabinoid wants to merge 1 commit into
Open
Conversation
|
|
@prabinoid NB: the Maybe that shouldn't block work the dependency refresh work, but I thought it'd be worth mentioning in case those tests should be ported across too. |
Collaborator
Author
|
Yes, thank you @jayaddison it must have missed during the migration. I will check and update it. Thanks! |
|
You're welcome - thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What type of PR is this? (check all applicable)
Related Issue
Related to #7183
Describe this PR
Removes the legacy Flask-based
unittestsuite undertests/backend/(139 files). It was superseded by the async
pytestsuite intests/api/,which is what CI actually runs (
pr_test_backend.yml).Two
tests/apimodules still imported helpers from the old tree, so a naivedelete would have broken CI. Handled first:
get_canned_osm_user_json_detailsandget_canned_jsonimportsfrom
tests.backend.helpers→tests.api.helpers(identical functions; therequired fixtures already exist in
tests/api/helpers/test_files/).Makefiletest-backendtarget topytest tests/api(and corrected the stale
backendcompose service name totm-backend).docs/developers/development-setup.mdandsubmit-pr.mdto thepytest tests/apicommands.tests/backend/.