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 import os
from pydu.file import makedirs
import pytest import pytest
from pydu.file import makedirs
class Testmakedirs(): class TestMakeDirs:
def test_makedirs(self, tmpdir): def test_makedirs(self, tmpdir):
path = str(tmpdir.join('test')) path = str(tmpdir.join('test'))
makedirs(path) makedirs(path)
@ -33,3 +33,5 @@ class Testmakedirs():
path = str(tmpdir.join('test/test')) path = str(tmpdir.join('test/test'))
makedirs(path) makedirs(path)
assert os.path.exists(path) assert os.path.exists(path)