def test_case_third(self, tweepy_api): tweepy_api.get_user = MagicMock(return_value=MockedUser) self.assertTrue(TwitterAccount.validate('123'))
def test_case_two(self, tweepy_api): self.assertTrue(TwitterAccount.validate('123')) tweepy_api.assert_called_once_with(ANY)