use Path.resolve in test to sort out osx temporary folder being a symlink

This commit is contained in:
Ronny Pfannschmidt 2018-11-22 16:10:12 +01:00
parent f1fe9e41ac
commit 5f1d692072
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class TestTempdirHandler(object):
monkeypatch.chdir(tmp_path)
config = FakeConfig("hello")
t = TempPathFactory.from_config(config)
assert t.getbasetemp() == (tmp_path / "hello")
assert t.getbasetemp().resolve() == (tmp_path / "hello").resolve()
class TestConfigTmpdir(object):