def test_no_git(self): p = Project(name="great big crane", git_repo="git://github.com/pnomolos/Django-Dash-2010") assert p.github_url() == "http://github.com/pnomolos/Django-Dash-2010"
def test_http_url(self): p = Project(name="great big crane", git_repo="https://[email protected]/pnomolos/Django-Dash-2010.git") assert p.github_url() == "http://github.com/pnomolos/Django-Dash-2010"