summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-07 12:00:30 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-07 12:00:30 +0100
commit4d7bb9e464454e1dd91c7f81868e7673244bc1f6 (patch)
treefa8d1f861fc23433591e23ea71b1ba0dc41bad90 /morphlib/localrepocache_tests.py
parentb088e31b740c62b90ddf9c3342b876736790c1e8 (diff)
downloadmorph-4d7bb9e464454e1dd91c7f81868e7673244bc1f6.tar.gz
Fix unit tests to raise cliapp.AppException the right way
Diffstat (limited to 'morphlib/localrepocache_tests.py')
-rw-r--r--morphlib/localrepocache_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/localrepocache_tests.py b/morphlib/localrepocache_tests.py
index de894794..29feba07 100644
--- a/morphlib/localrepocache_tests.py
+++ b/morphlib/localrepocache_tests.py
@@ -108,7 +108,7 @@ class LocalRepoCacheTests(unittest.TestCase):
def test_fails_to_cache_when_remote_does_not_exist(self):
def fail(args):
- raise cliapp.AppException('', '')
+ raise cliapp.AppException('')
self.lrc._git = fail
self.assertRaises(morphlib.localrepocache.NoRemote,
self.lrc.cache_repo, self.repourl)