From 7cdcea4dd557d59dba2860cf6854a628115015ba Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 14 Oct 2015 12:43:06 -0700 Subject: [PATCH] Mock account not client --- letsencrypt/tests/account_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letsencrypt/tests/account_test.py b/letsencrypt/tests/account_test.py index cd98e1e20..4e2fdb122 100644 --- a/letsencrypt/tests/account_test.py +++ b/letsencrypt/tests/account_test.py @@ -70,12 +70,12 @@ class ReportNewAccountTest(unittest.TestCase): from letsencrypt.account import report_new_account report_new_account(self.acc, self.config) - @mock.patch("letsencrypt.client.zope.component.queryUtility") + @mock.patch("letsencrypt.account.zope.component.queryUtility") def test_no_reporter(self, mock_zope): mock_zope.return_value = None self._call() - @mock.patch("letsencrypt.client.zope.component.queryUtility") + @mock.patch("letsencrypt.account.zope.component.queryUtility") def test_it(self, mock_zope): self._call() call_list = mock_zope().add_message.call_args_list