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]')
def test_get_keyring_service_default_host(self): self.assertEqual( GitlabService.get_keyring_service(self.service_config), 'gitlab://[email protected]')