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

LTD-5696: Update licence decisions bdd tests #2321

Merged
merged 8 commits into from
Dec 4, 2024
Merged

Conversation

saruniitr
Copy link
Contributor

@saruniitr saruniitr commented Nov 29, 2024

Change description

Make them concise with limited actions rather than a series of steps.
Bulk of the changes are moving common steps into conftest.py.

Most of the steps such as issuing, refusing, appealing application etc are common with applications.feature however in this case we also need to verify the id of generated licence decisions and licences. For this purpose .save() is overridden to create them with the id we want. To be able to reuse the steps these are hardcoded in the mock method rather than specifying them as parameters to the steps.

LTD-5696

@saruniitr saruniitr merged commit d425bd3 into dev Dec 4, 2024
26 checks passed
@saruniitr saruniitr deleted the LTD-modify-bdd-tests branch December 4, 2024 12:48
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.

3 participants