Beispiel #1
0
 def _init_cifsserver_info(self, cifsserver_info):
     cifs_servers = vfo.parse_cifsserver_objects(self, cifsserver_info)
     return ("CifsServer", cifs_servers)
Beispiel #2
0
 def test_all(self):
     for sample in self.samples:
         objs = vfo.parse_cifsserver_objects(self.filer, sample.split("\n"))
         self.assertGreaterEqual(len(objs), 1)
         for o in objs:
             self.assertTrue(o.is_valid())