Skip to content
Snippets Groups Projects
Commit 426d77fd authored by Augie Fackler's avatar Augie Fackler
Browse files

test-url-parsing: defend against changes in dulwich

parent 843d4397
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,10 @@
url = "git://github.com/webjam/webjam.git"
client, path = self.handler.get_transport_and_path(url)
self.assertEquals(path, '/webjam/webjam.git')
self.assertEquals(client.host, 'github.com')
try:
self.assertEquals(client._host, 'github.com')
except AttributeError:
self.assertEquals(client.host, 'github.com')
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment