示例#1
0
 def test_get_keyring_service_custom_host(self):
     self.config.set('myservice', 'gitlab.host', 'gitlab.example.com')
     self.assertEqual(
         GitlabService.get_keyring_service(self.service_config),
         'gitlab://[email protected]')
示例#2
0
 def test_get_keyring_service_custom_host(self):
     self.config.set('myservice', 'gitlab.host', 'gitlab.example.com')
     self.assertEqual(
         GitlabService.get_keyring_service(self.service_config),
         'gitlab://[email protected]')
示例#3
0
 def test_get_keyring_service_default_host(self):
     self.assertEqual(
         GitlabService.get_keyring_service(self.service_config),
         'gitlab://[email protected]')
示例#4
0
 def test_get_keyring_service_default_host(self):
     self.assertEqual(
         GitlabService.get_keyring_service(self.service_config),
         'gitlab://[email protected]')