1
0
Fork 0
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:
Colin Dunklau 2013-03-26 00:38:07 -05:00
commit edbac49f2b
4 changed files with 38 additions and 37 deletions

View file

@ -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,