diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-10-15 10:18:02 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-10-15 10:18:22 +0200 |
commit | abc56484100f3d8457f0f2babed3f4cebde054d2 (patch) | |
tree | eb16baf6d01f106d4f65ff5236735b90a9f88742 /dev-python/coloredlogs/files | |
parent | dev-python/capturer: New package, ebuild written by me (diff) | |
download | gentoo-abc56484100f3d8457f0f2babed3f4cebde054d2.tar.gz gentoo-abc56484100f3d8457f0f2babed3f4cebde054d2.tar.bz2 gentoo-abc56484100f3d8457f0f2babed3f4cebde054d2.zip |
dev-python/coloredlogs: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/coloredlogs/files')
-rw-r--r-- | dev-python/coloredlogs/files/coloredlogs-2.0-skip-cli-test.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/coloredlogs/files/coloredlogs-2.0-skip-cli-test.patch b/dev-python/coloredlogs/files/coloredlogs-2.0-skip-cli-test.patch new file mode 100644 index 000000000000..cacd016159e9 --- /dev/null +++ b/dev-python/coloredlogs/files/coloredlogs-2.0-skip-cli-test.patch @@ -0,0 +1,20 @@ + coloredlogs/tests.py | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/coloredlogs/tests.py b/coloredlogs/tests.py +index 2010b12..7ab18a8 100644 +--- a/coloredlogs/tests.py ++++ b/coloredlogs/tests.py +@@ -160,12 +160,6 @@ class ColoredLogsTestCase(unittest.TestCase): + for name in 'debug', 'info', 'warning', 'error', 'critical': + assert name.upper() in output + +- def test_cli_conversion(self): +- """Test the command line HTML conversion.""" +- output = main('coloredlogs', '--convert', 'coloredlogs', '--demo', capture=True) +- # Make sure the output is encoded as HTML. +- assert '<span' in output +- + def test_implicit_usage_message(self): + """Test that the usage message is shown when no actions are given.""" + assert 'Usage:' in main('coloredlogs', capture=True) |