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

[PROD] Unit test anomalies #2284

Open
szabozoltan69 opened this issue Oct 10, 2024 · 0 comments
Open

[PROD] Unit test anomalies #2284

szabozoltan69 opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@szabozoltan69
Copy link
Contributor

Issue

When I worked with the Django migration files squashing, it turned out that there are some strange facts in some of our unit tests.
E.g.: in https://github.com/IFRCGo/go-api/blob/develop/deployments/test_views.py#L48 (and also on other lines of this test file) it is supposed that Sector entities already exist. How these tests can still work? Should we fix them to some such way?

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

No branches or pull requests

2 participants