222
222
def test_log_short_verbose(self):
224
log = self.run_bzr("log --short -v -r 1")[0]
225
# Check that we use the short status format and not the regular one
226
self.assertContainsRe(log, '(?m)^A hello.txt$')
227
self.assertNotContainsRe(log, '(?m)^added:$')
224
log = self.run_bzr(['log', '--short', '-v', '-r', '1'])[0]
225
# Check that we use the short status format and not the regular one
226
self.assertContainsRe(log, '(?m)^A hello.txt$')
227
self.assertNotContainsRe(log, '(?m)^added:$')
229
def test_log_short_verbose_verbose(self):
231
log = self.run_bzr(['log', '--short', '-vv', '-r', '1'])[0]
232
# Check that we use the long status format and not the short one
233
self.assertNotContainsRe(log, '(?m)^A hello.txt$')
234
self.assertContainsRe(log, '(?m)^added:$')
236
def test_log_long_verbose(self):
238
log = self.run_bzr(['log', '--long', '-v', '-r', '1'])[0]
239
# Check that we use the short status format and not the regular one
240
self.assertContainsRe(log, '(?m)^A hello.txt$')
241
self.assertNotContainsRe(log, '(?m)^added:$')
243
def test_log_long_verbose_verbose(self):
245
log = self.run_bzr(['log', '--long', '-vv', '-r', '1'])[0]
246
# Check that we use the long status format and not the short one
247
self.assertNotContainsRe(log, '(?m)^A hello.txt$')
248
self.assertContainsRe(log, '(?m)^added:$')
230
251
class TestLogMerges(TestCaseWithoutPropsHandler):