tests: Normalize paths for comparisons to run on Windows.

This commit is contained in:
Kostis Anagnostopoulos @ STUW025 2015-01-15 16:05:18 +01:00
parent c64b8c32d2
commit 91f635b570
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ def main(request, monkeypatch):
def test_default_pkgdir(main): def test_default_pkgdir(main):
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): def test_noargs(main):