1 from test
.test_support
import verbose
, TestFailed
, TestSkipped
8 # NIS is probably not active, so this test isn't useful
11 # only do this if running under the regression suite
12 raise TestSkipped
, msg
18 mapping
= nis
.cat(nismap
)
19 for k
, v
in mapping
.items():
24 if nis
.match(k
, nismap
) != v
:
25 print "NIS match failed for key `%s' in map `%s'" % (k
, nismap
)
27 # just test the one key, otherwise this test could take a