fix(tests): solve dangling variable issue when tests run multiple times
This issue occurs when you run `tox` on the root folder multiple times. The problem is there is no cleanup regarding tests and as tests are running `tox` again on generated projects on /tmp it is generating .tox/ folders, and .tox/ folders are breaking the `test_no_dangling_variables` if you run it again before /tmp removes generated old projects. This commit is utilizing shutil to remove those projects on /tmp first in test_rendered_project so `test_no_dangling_variables` is not breaking anymore.
Loading
-
mentioned in merge request uis/devops/iam/activate-account/api!165
-
mentioned in merge request uis/devops/api/login-and-consent-webapp!55 (merged)
-
mentioned in merge request uis/devops/iar/webapp!79 (merged)
-
mentioned in merge request uis/devops/experiments/tb844-testing/webapp!28
Please sign in to comment