We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f0477 commit 27cd211Copy full SHA for 27cd211
1 file changed
ietf/utils/tests.py
@@ -204,10 +204,10 @@ class TestWikiGlueManagementCommand(TestCase):
204
205
def setUp(self):
206
self.wiki_dir_pattern = os.path.abspath('tmp-wiki-dir-root/%s')
207
- if not os.path.exists(self.wiki_dir_pattern):
+ if not os.path.exists(os.path.dirname(self.wiki_dir_pattern)):
208
os.mkdir(os.path.dirname(self.wiki_dir_pattern))
209
self.svn_dir_pattern = os.path.abspath('tmp-svn-dir-root/%s')
210
- if not os.path.exists(self.svn_dir_pattern):
+ if not os.path.exists(os.path.dirname(self.svn_dir_pattern)):
211
os.mkdir(os.path.dirname(self.svn_dir_pattern))
212
213
def tearDown(self):
0 commit comments