[Secure-testing-commits] r25623 - lib/python
Luciano Bello
luciano at moszumanska.debian.org
Sun Feb 9 09:35:12 UTC 2014
Author: luciano
Date: 2014-02-09 09:35:12 +0000 (Sun, 09 Feb 2014)
New Revision: 25623
Modified:
lib/python/security_db.py
Log:
adjusting mergeLists test to r25621
Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py 2014-02-09 01:07:07 UTC (rev 25622)
+++ lib/python/security_db.py 2014-02-09 09:35:12 UTC (rev 25623)
@@ -1902,12 +1902,12 @@
print " architecture:", architecture
def test():
- assert mergeLists('', '') == [], mergeLists('', '')
- assert mergeLists('', []) == []
- assert mergeLists('a', 'a') == ['a']
- assert mergeLists('a', 'b') == ['a', 'b']
- assert mergeLists('a,c', 'b') == ['a', 'b', 'c']
- assert mergeLists('a,c', ['b', 'de']) == ['a', 'b', 'c', 'de']
+ assert mergeLists(u'',u'') == [], mergeLists(u'', u'')
+ assert mergeLists(u'', []) == []
+ assert mergeLists(u'a', u'a') == [u'a']
+ assert mergeLists(u'a', u'b') == [u'a', u'b']
+ assert mergeLists(u'a,c', u'b') == [u'a', u'b', 'c']
+ assert mergeLists(u'a,c', [u'b', u'de']) == [u'a', u'b', u'c', u'de']
import os
db_file = 'test_security.db'
More information about the Secure-testing-commits
mailing list