Exemple #1
0
 def test_hNetrWorkstationStatisticsGet(self):
     dce, rpc_transport = self.connect()
     try:
         resp2 = wkst.hNetrWorkstationStatisticsGet(dce, '\x00', 0, 0)
         resp2.dump()
     except Exception as e:
         if str(e).find('ERROR_INVALID_PARAMETER') < 0:
             raise
Exemple #2
0
    def test_hNetrWorkstationStatisticsGet(self):
        dce, rpctransport = self.connect()

        try:
            resp2 = wkst.hNetrWorkstationStatisticsGet(dce, '\x00', 0, 0)
            resp2.dump()
        except Exception, e:
            if str(e).find('ERROR_INVALID_PARAMETER') < 0:
                raise