mirror of https://github.com/flaggo/pydu.git
rename Testmakedirs to TestMakeDirs
This commit is contained in:
parent
95d366771d
commit
afe7fa6bdc
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue