forked from github.com/pypiserver
tests: Normalize paths for comparisons to run on Windows.
This commit is contained in:
parent
c64b8c32d2
commit
91f635b570
@ -39,7 +39,7 @@ def main(request, monkeypatch):
|
||||
|
||||
def test_default_pkgdir(main):
|
||||
main([])
|
||||
assert main.pkgdir == os.path.expanduser("~/packages")
|
||||
assert os.path.normpath(main.pkgdir) == os.path.normpath(os.path.expanduser("~/packages"))
|
||||
|
||||
|
||||
def test_noargs(main):
|
||||
|
Loading…
Reference in New Issue
Block a user