From d099d61b36475c035f8b5ecb23b3b3461a4ba8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Tue, 23 Nov 2010 14:57:45 +0000 Subject: [PATCH] - convert list for diffs friendly git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40545 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/tests/assertSoftware.py | 33 +++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index 5bedb74070..c016a29c22 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -781,16 +781,39 @@ class AssertSubversion(AssertSoftwareMixin): def test_ld_libsvn_ra_neon(self): elf_dict = readElfAsDict('parts/subversion/lib/libsvn_ra_neon-1.so') - self.assertEqual(sorted(['libaprutil-1', 'libsvn_delta-1', 'libcrypto', - 'libexpat', 'libsvn_subr-1', 'libapr-1', 'libuuid', 'libssl', 'libneon', - 'librt', 'libc', 'libcrypt', 'libdl', 'libpthread', 'libm', 'libxml2', + self.assertEqual(sorted([ + 'libapr-1', + 'libaprutil-1', + 'libc', + 'libcrypt', + 'libcrypto', + 'libdl', + 'libexpat', + 'libm', + 'libneon', + 'libpthread', + 'librt', + 'libssl', + 'libsvn_delta-1', + 'libsvn_subr-1', + 'libuuid', + 'libxml2', 'libz', ]), elf_dict['library_list']) soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts') expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for - software in ['apache', 'libexpat', 'openssl', 'libxml2', - 'sqlite3', 'subversion', 'zlib', 'libuuid', 'neon']] + software in [ + 'apache', + 'libexpat', + 'libuuid', + 'libxml2', + 'neon', + 'openssl', + 'sqlite3', + 'subversion', + 'zlib', + ]] self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) def test_ld_libsvn_ra_svn(self): -- 2.30.9