def test_getData(self): smb = self.create_connection() smb.login(self.username, self.password, self.domain) smb.getDialect() smb.getServerName() smb.getRemoteHost() smb.getServerDomain() smb.getServerOS() smb.doesSupportNTLMv2() smb.isLoginRequired() smb.logoff()
def test_getRemoteHost(self): smb = self.create_connection() smb.login(self.username, self.password, self.domain) remoteHost = smb.getRemoteHost() self.assertTrue(remoteHost == self.machine) smb.logoff()
def test_getRemoteHost(self): smb = self.create_connection() smb.login(self.username, self.password, self.domain) remoteHost = smb.getRemoteHost() self.assertTrue( remoteHost == self.machine) smb.logoff()