コード例 #1
0
 def setUp(self):
     LoginTestCase.setUp(self)
     self.init_plugin()
     self.joe = FakeClient(self.console,
                           name="Joe",
                           guid="joeguid",
                           groupBits=128)
コード例 #2
0
 def setUp(self):
     LoginTestCase.setUp(self)
     self.init_plugin()
     # create a client which needs to log in and has a password saved in database
     self.jack = FakeClient(self.console,
                            name="Jack",
                            guid="jackguid",
                            groupBits=128,
                            password=F00_MD5)
     self.jack.save()
コード例 #3
0
 def setUp(self):
     LoginTestCase.setUp(self)
     self.init_plugin()
コード例 #4
0
 def setUp(self):
     LoginTestCase.setUp(self)
     self.init_plugin()
     # create a client which needs to log in and has a password saved in database
     self.jack = FakeClient(self.console, name="Jack", guid="jackguid", groupBits=128, password=F00_MD5)
     self.jack.save()
コード例 #5
0
 def setUp(self):
     LoginTestCase.setUp(self)
     self.init_plugin()
     self.joe = FakeClient(self.console, name="Joe", guid="joeguid", groupBits=128)