Ejemplo n.º 1
0
 def test_keyring_service_host(self):
     """ Checks that the keyring key depends on the github host. """
     self.config.set('mygithub', 'github.host', 'github.example.com')
     keyring_service = GithubService.get_keyring_service(
         self.service_config)
     self.assertEquals("github://[email protected]/milou",
                       keyring_service)
Ejemplo n.º 2
0
 def test_keyring_service(self):
     """ Checks that the keyring service name """
     keyring_service = GithubService.get_keyring_service(self.service_config)
     self.assertEquals("github://[email protected]/milou", keyring_service)
Ejemplo n.º 3
0
 def test_keyring_service_host(self):
     """ Checks that the keyring key depends on the github host. """
     self.config.set('mygithub', 'github.host', 'github.example.com')
     keyring_service = GithubService.get_keyring_service(self.service_config)
     self.assertEquals("github://[email protected]/milou", keyring_service)
Ejemplo n.º 4
0
 def test_keyring_service(self):
     """ Checks that the keyring service name """
     keyring_service = GithubService.get_keyring_service(self.service_config)
     self.assertEquals("github://[email protected]/milou", keyring_service)