def test_main_digest(self, mock_print): mintotp.main() mock_print.assert_called_once_with('473535')
def test_main_digits(self, mock_print): mintotp.main() mock_print.assert_called_once_with('49549419')
def test_main_two_secrets(self, mock_print): mintotp.main() self.assertEqual( mock_print.mock_calls, [mock.call('549419'), mock.call('009551')])
def test_main_step(self, mock_print): mintotp.main() mock_print.assert_called_once_with('626854')
def test_main_one_secret(self, mock_print): mintotp.main() mock_print.assert_called_once_with('549419')