#4208 Cascade deleting flags when tokens are deleted
Merged by pingou. Opened by pingou.
fix_model  into  master

Download 4208.patch

A project is deleted, if may have PRs with flags, these flags
have been added via the API via an API token (potentially linked
to the project).
When the project is deleted the API token gets deleted and the
corresponding flags should be deleted as well, which this commit
allows.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Test run exploded on the Python 3 run due to running out of disk:

sh: /home/pagure/workspace/pagure-pr@3@tmp/durable-da0fc4f6/jenkins-result.txt.tmp: No space left on device

Aside from tests exploding, everything looks good. :thumbsup:

pretty please pagure-ci rebuild

rebased onto 2659eb1e451b102672f4e57af977cb6e382d872b

pretty please pagure-ci rebuild

pretty please pagure-ci rebuild

\ó/ Tests finally passed!

Thanks for the review @ngompa :)

Pull-Request has been merged by pingou

Metadata