.tripleo/history created when running unit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Julie Pichon |
Bug Description
Running the python-
=======
FAIL: tripleoclient.
tags: worker-1
-------
Traceback (most recent call last):
File "/home/
os.
FileExistsError: [Errno 17] File exists: '/home/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
return func(*args, **keywargs)
File "/home/
self.
File "/home/
utils.
File "/home/
raise OSError(messages)
OSError: Unable to create TripleO history directory:
Regardless, we should probably mock the file creation calls and avoid creating and leaving files on the system when running unit tests.
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Changed in tripleo: | |
milestone: | pike-rc1 → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Related fix proposed to branch: master /review. openstack. org/521057
Review: https:/