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

Refactor reload_openzaak_fixture to use TestContextDecorator #208

Open
SilviaAmAm opened this issue Jul 23, 2024 · 0 comments
Open

Refactor reload_openzaak_fixture to use TestContextDecorator #208

SilviaAmAm opened this issue Jul 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SilviaAmAm
Copy link
Collaborator

SilviaAmAm commented Jul 23, 2024

Suggested by Victorien. I had tried, but for some reasons the tests started hanging in CI. I didn't have the time to investigate it further.

Decorator: https://github.com/maykinmedia/open-archiefbeheer/blob/feature/165-destroy-cases/backend/src/openarchiefbeheer/utils/utils_decorators.py

Docs: https://github.com/django/django/blob/cf03aa4e94625971852a09e869f7ee7c328b573f/django/test/utils.py#L384

Also fix that in development mode it checks if we are running from cassettes

@SilviaAmAm SilviaAmAm added the enhancement New feature or request label Jul 23, 2024
@SilviaAmAm SilviaAmAm changed the title Refactor the decorator to reload OpenZaak fixtures to use TestContextDecorator Refactor reload_openzaak_fixture to use TestContextDecorator Jul 23, 2024
@SilviaAmAm SilviaAmAm self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant