mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- minor fixes
This commit is contained in:
parent
62dc807378
commit
e21e61f20e
@ -76,7 +76,7 @@ class TestDeleteFiles(OscTestCase):
|
||||
self.assertTrue(os.path.exists('foo'))
|
||||
self.assertTrue(os.path.exists(os.path.join('.osc', 'foo')))
|
||||
self.assertFalse(os.path.exists(os.path.join('.osc', '_to_be_deleted')))
|
||||
self.assertTrue(os.path.exists(os.path.join('.osc', '_in_conflict')))
|
||||
self._check_conflictlist('foo\n')
|
||||
self._check_status(p, 'foo', 'C')
|
||||
|
||||
def testDeleteModifiedForce(self):
|
||||
|
@ -92,6 +92,7 @@ class TestUpdate(OscTestCase):
|
||||
osc.core.Package('.').update(rev=2)
|
||||
exp = 'skipping \'merge\' (this is due to conflicts)\nAt revision 2.\n'
|
||||
self.assertEqual(sys.stdout.getvalue(), exp)
|
||||
self._check_conflictlist('merge\n')
|
||||
self.__check_digests('testUpdateAlreadyInConflict_files')
|
||||
|
||||
@GET('http://localhost/source/osctest/deleted?rev=2', file='testUpdateLocalDeletions_files')
|
||||
|
Loading…
Reference in New Issue
Block a user