Searched refs:mock_getuser (Results 1 – 1 of 1) sorted by relevance
270 def test_email(self, mock_getuser, mock_emailer, mock_attachment, argument273 mock_getuser.return_value = 'john.smith@google.com'288 self.assertEqual(mock_getuser.call_count, 0)300 self.assertEqual(mock_getuser.call_count, 1)321 mock_getuser.reset_mock()330 self.assertEqual(mock_getuser.call_count, 1)353 mock_getuser.reset_mock()360 self.assertEqual(mock_getuser.call_count, 1)380 mock_getuser.reset_mock()388 self.assertEqual(mock_getuser.call_count, 0)