fix: avoid making the parent directory redundantly in test case

This commit is contained in:
Hans-Christoph Steiner 2024-04-06 05:49:49 +00:00 committed by proletarius101
parent 513b223caa
commit 2d267e6cbd
1 changed files with 1 additions and 1 deletions

View File

@ -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')