diff options
author | Jelmer Vernooij <jelmer@debian.org> | 2021-07-08 17:08:37 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@debian.org> | 2021-07-08 17:08:37 +0200 |
commit | b17fef2f0bcc7c3b8a95497c312c134145dbfcb2 (patch) | |
tree | 5e1a2f050aea3b70712ef1832e3c524eb9ce445f | |
parent | 9be208419a2ae98a4f83bd8d73edf2a1ba1a9f01 (diff) |
Suggest installing python-breezy.tests when breezy.tests is unavailable
Status: Not upstream, Debian-specific
=== modified file 'breezy/builtins.py'
Gbp-Pq: Name 01_selftest_package
-rw-r--r-- | breezy/builtins.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/breezy/builtins.py b/breezy/builtins.py index f695b10..3abcd52 100644 --- a/breezy/builtins.py +++ b/breezy/builtins.py @@ -4225,7 +4225,9 @@ class cmd_selftest(Command): from . import tests except ImportError as e: raise errors.CommandError("tests not available. Install the " - "breezy tests to run the breezy testsuite.") + "python-breezy.tests package to run " + "the breezy testsuite.") + if testspecs_list is not None: pattern = '|'.join(testspecs_list) |