rename Testmakedirs to TestMakeDirs

This commit is contained in:
Prodesire 2017-12-02 10:37:59 +08:00
parent 95d366771d
commit afe7fa6bdc
1 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import os
from pydu.file import makedirs
import pytest
from pydu.file import makedirs
class Testmakedirs():
class TestMakeDirs:
def test_makedirs(self, tmpdir):
path = str(tmpdir.join('test'))
makedirs(path)
@ -33,3 +33,5 @@ class Testmakedirs():
path = str(tmpdir.join('test/test'))
makedirs(path)
assert os.path.exists(path)