Skip to content

Commit

Permalink
Eliminate name conflict between Gen 2 and 3 Workspace tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Aug 7, 2020
1 parent 32999ae commit 4c21b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_workspace.py
Expand Up @@ -60,7 +60,7 @@ def _assertNotInDir(self, path, baseDir):
def testMakeDir(self):
"""Verify that a Workspace creates the workspace directory if it does not exist.
"""
newPath = '_temp'
newPath = '_temp2' # can't use mkdtemp because creation is what we're testing
shutil.rmtree(newPath, ignore_errors=True)
self.assertFalse(os.path.exists(newPath), 'Workspace directory must not exist before test.')

Expand Down Expand Up @@ -131,7 +131,7 @@ def _assertNotInDir(self, path, baseDir):
def testMakeDir(self):
"""Verify that a Workspace creates the workspace directory if it does not exist.
"""
newPath = '_temp'
newPath = '_temp3' # can't use mkdtemp because creation is what we're testing
shutil.rmtree(newPath, ignore_errors=True)
self.assertFalse(os.path.exists(newPath), 'Workspace directory must not exist before test.')

Expand Down

0 comments on commit 4c21b46

Please sign in to comment.