test: prefix temporary directory with osbuild-test-
This makes it easier to spot which process temporary files are coming from.
This commit is contained in:
parent
1b9305b024
commit
3e00117d35
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class TestCase(unittest.TestCase):
|
|||
def setUpClass(cls):
|
||||
cls.store = os.getenv("OSBUILD_TEST_STORE")
|
||||
if not cls.store:
|
||||
cls.store = tempfile.mkdtemp(dir="/var/tmp")
|
||||
cls.store = tempfile.mkdtemp(prefix="osbuild-test-", dir="/var/tmp")
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue