17
17
"""Blackbox tests for -D debug options"""
29
25
def test_dash_derror(self):
30
26
"""With -Derror, tracebacks are shown even for user errors"""
27
out, err = self.run_bzr("-Derror", "branch", "nonexistent-location",
33
29
# error output should contain a traceback; we used to look for code in
34
30
# here but it may be missing if the source is not in sync with the
36
32
self.assertContainsRe(err, "Traceback \\(most recent call last\\)")