aboutsummaryrefslogtreecommitdiff
path: root/src/python/pypamtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/pypamtest.c')
-rw-r--r--src/python/pypamtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/pypamtest.c b/src/python/pypamtest.c
index 905c652..4147364 100644
--- a/src/python/pypamtest.c
+++ b/src/python/pypamtest.c
@@ -303,7 +303,7 @@ set_pypamtest_exception(PyObject *exc,
if (test_repr[0] != '\0' && failed != NULL) {
PyErr_Format(exc,
- "Error [%d]: Test case %s retured [%d]",
+ "Error [%d]: Test case %s returned [%d]",
perr, test_repr, failed->op_rv);
} else {
obj = Py_BuildValue(discard_const_p(char, "(i,s)"),
@@ -906,7 +906,7 @@ static int py_tc_list_to_cstruct_list(PyObject *py_test_list,
PyDoc_STRVAR(RunPamTest__doc__,
"Run PAM tests\n\n"
"This function runs PAM test cases and reports result\n"
-"Paramaters:\n"
+"Parameters:\n"
"service: The PAM service to use in the conversation (string)\n"
"username: The user to run PAM conversation as\n"
"test_list: Sequence of pypamtest.TestCase objects\n"