mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:56 +02:00
s/assert_called_once/assert_called_once_with (#3100)
This commit is contained in:
committed by
Jacob Hoffman-Andrews
parent
fcc4622b6d
commit
590d816fa9
@@ -572,7 +572,7 @@ class ClientNetworkTest(unittest.TestCase):
|
||||
sess = mock.MagicMock()
|
||||
self.net.session = sess
|
||||
del self.net
|
||||
sess.close.assert_called_once()
|
||||
sess.close.assert_called_once_with()
|
||||
|
||||
@mock.patch('acme.client.requests')
|
||||
def test_requests_error_passthrough(self, mock_requests):
|
||||
|
||||
Reference in New Issue
Block a user