def test_has_no_error_result_without_error(): mock_result = "Mock." return_value = ProveAnonymousAuth.has_no_error(mock_result) assert return_value is True
def test_has_no_error_result_with_error(): mock_result = "Mock exited with error." return_value = ProveAnonymousAuth.has_no_error(mock_result) assert return_value is False