def test_do_register(self, mock_util_subp):
     cc_spacewalk.do_register(**self.space_cfg['spacewalk'])
     mock_util_subp.assert_called_with([
         'rhnreg_ks',
         '--serverUrl', 'https://localhost/XMLRPC',
         '--profilename', 'test',
         '--sslCACert', cc_spacewalk.def_ca_cert_path,
     ], capture=False)
 def test_do_register(self, mock_util_subp):
     cc_spacewalk.do_register(**self.space_cfg['spacewalk'])
     mock_util_subp.assert_called_with([
         'rhnreg_ks',
         '--serverUrl', 'https://localhost/XMLRPC',
         '--profilename', 'test',
         '--sslCACert', cc_spacewalk.def_ca_cert_path,
     ], capture=False)
 def test_do_register(self, mock_util_subp):
     cc_spacewalk.do_register(**self.space_cfg["spacewalk"])
     mock_util_subp.assert_called_with(
         [
             "rhnreg_ks",
             "--serverUrl",
             "https://localhost/XMLRPC",
             "--profilename",
             "test",
             "--sslCACert",
             cc_spacewalk.def_ca_cert_path,
         ],
         capture=False,
     )