1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

adjust the unit tests

This commit is contained in:
Dr. Peter Poeml 2007-05-03 16:57:55 +00:00
parent 4a2c675e6e
commit 5c0d0565ec

View File

@ -71,8 +71,8 @@ class TestOsc(unittest.TestCase):
<project name="Tidy"/>
<project name="validators"/>
<project name="zsh"/>
<project name="home:poeml"/>
<project name="Apache:Modules"/>
<project name="home:poeml"/>
</watchlist>
</person>
@ -262,8 +262,8 @@ class TestOsc(unittest.TestCase):
# check in a file
# give an error if it doesn't exist
self.out, self.err = runosc('add foo1')
self.assertEqual(self.err, '')
self.assertEqual(self.out, 'file \'foo1\' does not exist\n')
self.assertEqual(self.err, 'file \'foo1\' does not exist\n')
self.assertEqual(self.out, '')
touch('foo1')
self.out, self.err = runosc('add foo1')