def test_get_remote_url_private(self):
     payload = GithubPayload(self.sample_payload_private)
     self.assertEqual(payload.get_remote_url(), "https://github.com/octokitty/testing.git")
     self.assertEqual(payload.get_remote_url("bola"), "https://[email protected]/octokitty/testing.git")
     self.assertEqual(payload.get_remote_url("bola", "guda"), "https://bola:[email protected]/octokitty/testing.git")
     self.assertEqual(
         payload.get_remote_url("[email protected]", "@@"), "https://bola%40guda:%40%[email protected]/octokitty/" "testing.git"
     )
 def test_get_remote_url(self):
     payload = GithubPayload(self.sample_payload)
     self.assertEqual(payload.get_remote_url(), "https://github.com/octokitty/testing.git")
     self.assertEqual(payload.get_remote_url("bola"), "https://github.com/octokitty/testing.git")
     self.assertEqual(payload.get_remote_url("bola", "guda"), "https://github.com/octokitty/testing.git")
     self.assertEqual(payload.get_remote_url("[email protected]", "@@"), "https://github.com/octokitty/testing.git")
 def test_parse_url(self):
     payload = GithubPayload("{}")
     url_pieces = payload._parse_url("https://github.com/foo/bar.baz.lol")
     self.assertEqual(url_pieces["username"], "foo")
     self.assertEqual(url_pieces["repository_name"], "bar.baz.lol")