This commit is contained in:
Egor Matveev 2022-02-06 12:45:04 +03:00
parent bab8fd5319
commit d2b260b4ca

View File

@ -1,4 +1,4 @@
from os import listdir, mkdir from os import listdir, mkdir, chmod
from os.path import join, exists from os.path import join, exists
from subprocess import call, TimeoutExpired from subprocess import call, TimeoutExpired
@ -97,6 +97,8 @@ class BaseTester:
) as fs: ) as fs:
fs.write(get_bytes(file.fs_id)) fs.write(get_bytes(file.fs_id))
print("Files copied") print("Files copied")
for file in listdir(self.path):
chmod(join(self.path, file), 0o777)
try: try:
self.before_test() self.before_test()
print("before test finished") print("before test finished")