diff options
| author | Chris McDonough <chrism@plope.com> | 2012-08-06 00:02:31 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-08-06 00:02:31 -0400 |
| commit | 88435e58b45b7c00387508bb2960f784d627bf00 (patch) | |
| tree | f31d1b62e168615eaef65db150ba9ecbfe62dafc | |
| parent | adf32395eaef658bc9053037a9bed4b182397faf (diff) | |
| download | pyramid-88435e58b45b7c00387508bb2960f784d627bf00.tar.gz pyramid-88435e58b45b7c00387508bb2960f784d627bf00.tar.bz2 pyramid-88435e58b45b7c00387508bb2960f784d627bf00.zip | |
coverage
| -rw-r--r-- | pyramid/tests/test_scaffolds/test_copydir.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyramid/tests/test_scaffolds/test_copydir.py b/pyramid/tests/test_scaffolds/test_copydir.py index 68cefbe6e..d757b837c 100644 --- a/pyramid/tests/test_scaffolds/test_copydir.py +++ b/pyramid/tests/test_scaffolds/test_copydir.py @@ -176,6 +176,14 @@ class Test_makedirs(unittest.TestCase): 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): |
