[Blends-commit] [SCM] website branch, master, updated. 2a07c4f1bd8e08e24e1b581813091d7b7f44c40f

Akshita Jha akshita-guest at users.alioth.debian.org
Wed Jul 29 07:34:32 UTC 2015


The following commit has been merged in the master branch:
commit 2a07c4f1bd8e08e24e1b581813091d7b7f44c40f
Author: Akshita Jha <akshita-guest at users.alioth.debian.org>
Date:   Wed Jul 29 13:01:11 2015 +0530

    Modify test_output.py : Checks whether the tasks files lists created from ./tasks.py and ./tasks_udd.py are same or not (irrespective of the order within the list)

diff --git a/webtools_py3/test_output.py b/webtools_py3/test_output.py
index 65e356e..35f4bae 100755
--- a/webtools_py3/test_output.py
+++ b/webtools_py3/test_output.py
@@ -138,7 +138,8 @@ def main():
     new_tasks_files = task_file(outputdir + '/tasks_udd', lang)
 
     # check whether the tasks files created are same or not
-    if old_tasks_files == new_tasks_files:
+    # irrespective of order of the two lists
+    if set(old_tasks_files) == set(new_tasks_files):
         check_diff(blend, new_tasks_files, outputdir)
     else:
         print('Tasks files created are not the same')

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list