def test_certonly_csr_dry_run(self):
    mock_get_utility = self._test_certonly_csr_common(['--dry-run'])
    self.assertEqual(mock_get_utility().add_message.call_count, 1)
    self.assertTrue(('dry run' in mock_get_utility().add_message.call_args[0][0]))
def test_certonly_csr_dry_run(self):
    mock_get_utility = self._test_certonly_csr_common(['--dry-run'])
    self.assertEqual(mock_get_utility().add_message.call_count, 1)
    self.assertTrue(('dry run' in mock_get_utility().add_message.call_args[0][0]))