fix: avoid making the parent directory redundantly in test case
This commit is contained in:
parent
513b223caa
commit
2d267e6cbd
|
@ -122,7 +122,7 @@ class DeployTest(unittest.TestCase):
|
|||
def test_update_serverwebroot_in_index_only_mode(self):
|
||||
os.chdir(self.testdir)
|
||||
repo = Path('repo')
|
||||
repo.mkdir(parents=True)
|
||||
repo.mkdir()
|
||||
fake_apk = repo / 'fake.apk'
|
||||
with fake_apk.open('w') as fp:
|
||||
fp.write('not an APK, but has the right filename')
|
||||
|
|
Loading…
Reference in New Issue