Stop overwriting reserved term
`dir` is a reserved instruction term in python, so this patch avoiding to assing a value to it. Change-Id: If780c4ffb72808b834e25a396665f17bd8383870
This commit is contained in:
parent
13e7f3641e
commit
a30a477755
@ -142,8 +142,8 @@ class TestReplicatorFunctions(ReplProbeTest):
|
|||||||
for files in test_node_files_list:
|
for files in test_node_files_list:
|
||||||
self.assertIn(files, new_files_list[0])
|
self.assertIn(files, new_files_list[0])
|
||||||
|
|
||||||
for dir in test_node_dir_list:
|
for directory in test_node_dir_list:
|
||||||
self.assertIn(dir, new_dir_list[0])
|
self.assertIn(directory, new_dir_list[0])
|
||||||
break
|
break
|
||||||
except Exception:
|
except Exception:
|
||||||
if time.time() - begin > 60:
|
if time.time() - begin > 60:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user