blob: c474223269747b0f91333c433d6bea1abbe2441c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/tests/unit/states/archive_test.py b/tests/unit/states/archive_test.py
index 588ec1a..acd53fa 100644
--- a/tests/unit/states/archive_test.py
+++ b/tests/unit/states/archive_test.py
@@ -78,9 +78,7 @@ class ArchiveTest(TestCase):
running_as = 'root'
filename = os.path.join(
tmp_dir,
- 'files/test/_tmp{0}_test_archive_.tar'.format(
- '' if running_as == 'root' else '_{0}'.format(running_as)
- )
+ 'files/test/_tmp_test_archive_.tar'
)
for test_opts, ret_opts in zip(test_tar_opts, ret_tar_opts):
ret = archive.extracted(tmp_dir,
|