From 4acab21d81de2538cedd1dcb7bcdbcf32945bff7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 6 Apr 2024 05:49:49 +0000 Subject: [PATCH] fix: avoid making the parent directory redundantly in test case --- tests/deploy.TestCase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/deploy.TestCase b/tests/deploy.TestCase index 811c61a6..bbc09852 100755 --- a/tests/deploy.TestCase +++ b/tests/deploy.TestCase @@ -172,7 +172,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')