forked from M-Labs/artiq
1
0
Fork 0

test: improve tmpdir names

This commit is contained in:
Sebastien Bourdeauducq 2023-04-30 17:15:34 +08:00
parent 3ff0be6540
commit d5a7755584
1 changed files with 2 additions and 2 deletions

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")