diff options
Diffstat (limited to 'test/test_cerbero_ide_xcode_xcconfig.py')
-rw-r--r-- | test/test_cerbero_ide_xcode_xcconfig.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test_cerbero_ide_xcode_xcconfig.py b/test/test_cerbero_ide_xcode_xcconfig.py index 5ce7d522..e5adf388 100644 --- a/test/test_cerbero_ide_xcode_xcconfig.py +++ b/test/test_cerbero_ide_xcode_xcconfig.py @@ -23,7 +23,7 @@ import tempfile from cerbero.ide.xcode.xcconfig import XCConfig -XCCONFIG = ''' +XCCONFIG = """ ALWAYS_SEARCH_USER_PATHS = YES USER_HEADER_SEARCH_PATHS = /usr/include/gstreamer-0.10\ /usr/include/glib-2.0 /usr/lib/glib-2.0/include\ @@ -31,10 +31,10 @@ USER_HEADER_SEARCH_PATHS = /usr/include/gstreamer-0.10\ LIBRARY_SEARCH_PATHS = OTHER_LDFLAGS = -lgstreamer-0.10 \ -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -''' +""" -class TestPkgConfig(unittest.TestCase): +class TestPkgConfig(unittest.TestCase): def setUp(self): pc_path = os.path.join(os.path.dirname(__file__), 'pkgconfig') os.environ['PKG_CONFIG_LIBDIR'] = pc_path @@ -42,13 +42,13 @@ class TestPkgConfig(unittest.TestCase): def testFill(self): xcconfig = XCConfig('gstreamer-0.10') - expected = \ - {'libs': ' -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 ' - '-lxml2 -lgthread-2.0 -lrt -lglib-2.0', - 'hsp': '/usr/include/gstreamer-0.10 /usr/include/glib-2.0 ' - '/usr/lib/glib-2.0/include ' - '/usr/include/libxml2', - 'lsp': ''} + expected = { + 'libs': ' -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 ' '-lxml2 -lgthread-2.0 -lrt -lglib-2.0', + 'hsp': '/usr/include/gstreamer-0.10 /usr/include/glib-2.0 ' + '/usr/lib/glib-2.0/include ' + '/usr/include/libxml2', + 'lsp': '', + } self.assertEqual(expected, xcconfig._fill()) def testXCConfig(self): |