@nd redis_state test with pass/fail + empty collect fix in plugin

This commit is contained in:
2016-01-11 02:54:27 +05:30
parent de9089a543
commit a56600ee45
2 changed files with 48 additions and 1 deletions
+2 -1
View File
@@ -111,7 +111,8 @@ class Helpers(object):
hash_dir_name = s(redis_db.hget("directories_to_hash", dir_name))
assert hash_dir_name is not None
redis_db.rpush("{hash_a}_collect".format(hash_a=hash_dir_name), *list_test_name)
if list_test_name:
redis_db.rpush("{hash_a}_collect".format(hash_a=hash_dir_name), *list_test_name)
# set last updated
Helpers.modify_last_updated(dir_name)