Ejemplo n.º 1
0
 def test_rhsm_serverurl(self):
     tool_opts.username = '******'
     tool_opts.password = '******'
     tool_opts.serverurl = 'url'
     expected = \
         'subscription-manager register --force --username=user --password="******" --serverurl="url"'
     self.assertEqual(subscription.get_registration_cmd(), expected)
Ejemplo n.º 2
0
 def test_get_registration_cmd(self):
     tool_opts.username = '******'
     tool_opts.password = '******'
     expected = \
         'subscription-manager register --force --username=user --password="******"'
     self.assertEqual(subscription.get_registration_cmd(), expected)