giturlparse
giturlparse copied to clipboard
Should not this be a branch?
https://github.com/nephila/giturlparse/blob/a6b48dad230d43393227ffdf52f2099db8038622/giturlparse/tests/test_parse.py#L381
from giturlparse import parse as giturlparse
p = giturlparse("https://github.com/nephila/giturlparse/tree/master/changes")
print (p.branch, p.path)
assert p.branch == "master"
assert p.path == "changes"
@feliam The url you're referring to in test_parse.py is https://github.com/nephila/giturlparse/blob/master/giturlparse/github.py , but you did test https://github.com/nephila/giturlparse/tree/master/changes , that is a different url.
Or am I missing something here?