1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-04 10:36:17 +01:00

fix testsuite for varying output of project meta

This commit is contained in:
Dr. Peter Poeml 2008-01-24 19:05:00 +00:00
parent f24255f384
commit afa755c09e

View File

@ -114,7 +114,8 @@ class TestOsc(unittest.TestCase):
def testMetaPac(self):
self.out, self.err = runosc('meta pkg Apache apache2')
self.assertEqual(self.err, '')
self.assert_('<package project="Apache" name="apache2">' in self.out)
self.assert_(('<package name="apache2" project="Apache">' in self.out) \
or ('<package project="Apache" name="apache2">' in self.out))
#####################################################################