FAQ | This is a LIVE service | Changelog

Skip to content
Commit f98a3e15 authored by Tolga Bilbey's avatar Tolga Bilbey
Browse files

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.
parent c0e62a5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment