Catch nis.error and raise TestFailed instead. This catches the
problem where Python is configured with the nismodule but NIS isn't installed, or the map names don't correspond to those hardcoded in nismodule.c (which is bogus in and of itself).
Showing
Please
register
or
sign in
to comment