Skip to content

Commit

Permalink
Merge branch 'tickets/DM-26265'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Aug 7, 2020
2 parents 32999ae + 4c21b46 commit 1f16974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_workspace.py
Original file line number Diff line number Diff line change
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 1f16974

Please sign in to comment.