[PATCH net-next v3 2/8] selftests: net: set the exit code correctly in Python tests