Commit fa3fb2a4 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

test_cli: Fix test, initialize Slap Connection

parent e739eda4
......@@ -87,6 +87,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