forked from github/pelican
Nitpicking - tempdir naming, also backslashes are bad
Tempdirs should have useful prefixes to aid in collecting information
about failed tests.
Implicit concatenation is better than backslash line continuation.
This commit is contained in:
parent
54ffdf8ae5
commit
edbac49f2b
4 changed files with 38 additions and 37 deletions
|
|
@ -25,7 +25,7 @@ class TestWebAssets(unittest.TestCase):
|
|||
"""Base class for testing webassets."""
|
||||
|
||||
def setUp(self, override=None):
|
||||
self.temp_path = mkdtemp()
|
||||
self.temp_path = mkdtemp(prefix='pelicantests.')
|
||||
settings = {
|
||||
'PATH': os.path.join(CUR_DIR, 'content', 'TestCategory'),
|
||||
'OUTPUT_PATH': self.temp_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue