Searched refs:mock_getuser (Results 1 – 1 of 1) sorted by relevance
280 def test_email(self, mock_getuser, mock_emailer, mock_attachment, argument283 mock_getuser.return_value = 'john.smith@google.com'298 self.assertEqual(mock_getuser.call_count, 0)310 self.assertEqual(mock_getuser.call_count, 1)331 mock_getuser.reset_mock()340 self.assertEqual(mock_getuser.call_count, 1)363 mock_getuser.reset_mock()370 self.assertEqual(mock_getuser.call_count, 1)390 mock_getuser.reset_mock()398 self.assertEqual(mock_getuser.call_count, 0)