Commit 06311c17 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

test_cli: Fix test, initialize Slap Connection

parent 28eb8316
......@@ -86,6 +86,7 @@ class CliMixin(unittest.TestCase):
def setUp(self):
slap = slapos.slap.slap()
self.logger = create_autospec(logging.Logger)
slap.initializeConnection("http://127.0.0.1:80/")
self.local = {'slap': slap, 'product': SoftwareProductCollection(self.logger, slap)}
self.conf = create_autospec(ClientConfig)
self.sign_cert_list = signature_certificate_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment