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:
parent
f24255f384
commit
afa755c09e
3
tests.py
3
tests.py
@ -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))
|
||||
|
||||
|
||||
#####################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user