summaryrefslogtreecommitdiff
path: root/morphlib/repoaliasresolver_tests.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-02-11 17:35:12 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-02-11 17:36:00 +0000
commit7bb9c1bbb99cb267777904f6ced871a9dc9835a0 (patch)
treee2806447023b5b442f9135c221ea02bfb8d93d58 /morphlib/repoaliasresolver_tests.py
parentb40ed1c2bbff27cb16e95c4a1d22381e67509e44 (diff)
downloadmorph-7bb9c1bbb99cb267777904f6ced871a9dc9835a0.tar.gz
RepoAliasResolver: gimp logging during tests
Applications default to logging to console, which causes unwanted output during tests, and I thought this was tidier than allowing tests to override the logger per-call.
Diffstat (limited to 'morphlib/repoaliasresolver_tests.py')
-rw-r--r--morphlib/repoaliasresolver_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/repoaliasresolver_tests.py b/morphlib/repoaliasresolver_tests.py
index 21724a35..8e1827d7 100644
--- a/morphlib/repoaliasresolver_tests.py
+++ b/morphlib/repoaliasresolver_tests.py
@@ -15,12 +15,14 @@
import morphlib
+import logging
import unittest
class RepoAliasResolverTests(unittest.TestCase):
def setUp(self):
+ logging.disable(logging.critical)
self.aliases = [
('upstream='
'git://gitorious.org/baserock-morphs/%s#'