'Ensure NFS export checks work as expected.'

def testNfsExportsCheck(self):

    check_id = 'CCE-4350-5'
    sym = 'Found:    Default    r/w    NFS    exports    are    too    permissive.'
    found = ['/path/to/foo:    defaults:rw,sync,no_root_squash    hosts:host1,host2    options:ro,sec=sys', '/path/to/bar:    defaults:rw    hosts:*.example.org,192.168.1.0/24    options:all_squash,ro']
    self.assertCheckDetectedAnom(check_id, self.results, sym, found)
    sym = 'Found:    Wildcard    clients    with    r/w    NFS    exports    are    too    permissive.'
    found = ['hosts:*.example.org    options:rw']
    self.assertCheckDetectedAnom(check_id, self.results, sym, found)
