1 from test_support
import verbose
, TestFailed
6 # the following could fail if NIS isn't active
15 mapping
= nis
.cat(nismap
)
16 for k
, v
in mapping
.items():
21 if nis
.match(k
, nismap
) <> v
:
22 print "NIS match failed for key `%s' in map `%s'" % (k
, nismap
)
24 # just test the one key, otherwise this test could take a