tests: work-around Koji builds

This commit is contained in:
Pavel Raiskup 2023-01-05 09:44:08 +01:00
parent a5831794fb
commit 8f0939a770

View file

@ -74,7 +74,8 @@ class UploadTest(unittest.TestCase):
def setUp(self):
self.hostname = 'localhost'
self.port = 8888
# Koji can run multiple builds on the same host in parallel
self.port = random.randrange(10000, 20000, step=1)
# Create temporary filesystem tree
self.topdir = tempfile.mkdtemp()
os.chmod(self.topdir, 0o0777)