Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

coverage

  • Loading branch information...
commit 88435e58b45b7c00387508bb2960f784d627bf00 1 parent adf3239
@mcdonc mcdonc authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 pyramid/tests/test_scaffolds/test_copydir.py
View
8 pyramid/tests/test_scaffolds/test_copydir.py
@@ -176,6 +176,14 @@ def test_makedirs_parent_dir(self):
self._callFUT(target, 2, None)
shutil.rmtree(tmpdir)
+ def test_makedirs_no_parent_dir(self):
+ import shutil
+ import tempfile
+ tmpdir = tempfile.mkdtemp()
+ target = os.path.join(tmpdir, 'nonexistent_subdir', 'non2')
+ self._callFUT(target, 2, None)
+ shutil.rmtree(tmpdir)
+
class Test_support_functions(unittest.TestCase):
def _call_html_quote(self, *arg, **kw):
Please sign in to comment.
Something went wrong with that request. Please try again.