1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00

update osc tests for small api changes

This commit is contained in:
Dr. Peter Poeml 2007-03-19 11:53:31 +00:00
parent 0204819a54
commit 92b3f041a8

View File

@ -59,14 +59,6 @@ class TestOsc(unittest.TestCase):
<login>poeml</login>
<email>poeml@suse.de</email>
<realname>Dr. Peter Poeml</realname>
<source_backend>
<host></host>
<port></port>
</source_backend>
<rpm_backend>
<host></host>
<port></port>
</rpm_backend>
<watchlist>
<project name="server:mail"/>
<project name="frox"/>
@ -122,7 +114,7 @@ class TestOsc(unittest.TestCase):
def testMetaPac(self):
self.out, self.err = runosc('meta Apache apache2')
self.assertEqual(self.err, '')
self.assert_('<package name="apache2" project="Apache">' in self.out)
self.assert_('<package project="Apache" name="apache2">' in self.out)
#####################################################################