Skip to content

Commit 672fe4d

Browse files
committed
Fix tests
1 parent 3e51dae commit 672fe4d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/ote_cli/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ def manage_tm_config_for_testing():
3636
isip_exist = os.path.exists(isip_path)
3737
otm_exist = os.path.exists(otm_path)
3838

39+
created_cfg_dir = False
3940
if not os.path.exists(cfg_dir):
4041
created_cfg_dir = True
4142
os.makedirs(cfg_dir)
4243

4344
isip_backup = None
44-
is_cfg_dir_existed = True
4545

4646
if not isip_exist:
4747
with open(isip_path, "w") as f:
@@ -67,7 +67,7 @@ def manage_tm_config_for_testing():
6767
if isip_backup is not None:
6868
with open(isip_path, "w") as f:
6969
f.write(isip_backup)
70-
70+
7171
if not otm_exist:
7272
os.remove(otm_path)
7373
else:

0 commit comments

Comments
 (0)