2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

test: improve tmpdir names

This commit is contained in:
Sebastien Bourdeauducq 2023-04-30 17:15:34 +08:00
parent 3ff0be6540
commit d5a7755584

View File

@ -29,8 +29,8 @@ def get_env():
class TestClient(unittest.TestCase): class TestClient(unittest.TestCase):
def setUp(self): def setUp(self):
self.tmp_dir = TemporaryDirectory(prefix="test") self.tmp_dir = TemporaryDirectory(prefix="artiq_client_test")
self.tmp_empty_dir = TemporaryDirectory(prefix="empty_repo") self.tmp_empty_dir = TemporaryDirectory(prefix="artiq_empty_repo")
self.exp_name = "experiment.py" self.exp_name = "experiment.py"
self.exp_path = os.path.join(self.tmp_dir.name, self.exp_name) self.exp_path = os.path.join(self.tmp_dir.name, self.exp_name)
self.device_db_path = os.path.join(self.tmp_dir.name, "device_db.py") self.device_db_path = os.path.join(self.tmp_dir.name, "device_db.py")