Add tests for cssp ntlm authentication protocol

This commit is contained in:
citronneur
2015-03-09 22:31:08 +01:00
parent 95052a323f
commit 20de5f6f82
2 changed files with 139 additions and 0 deletions

View File

@@ -109,6 +109,17 @@ class TestLic(unittest.TestCase):
s.pos = 0
s.readType(lic.LicPacket(lic.ClientNewLicenseRequest()))
self._state = True
def getGCCServerSettings(self):
class A:
def __init__(self):
self._is_readed = False
class B:
def __init__(self):
self.serverCertificate = A()
class C:
def __init__(self):
self.SC_SECURITY = B()
return C()
t = Transport()
l = lic.LicenseManager(t)