Refactor: python: Standardize exitcode keyword argument.
This should be expected_exitcode everywhere, and make sure the variable
it's assigned to is named the same. I would have preferred to call this
just exitcode because it's significantly shorter, but that name is
already in use for the result of the test.