Closed KeithMnemonic closed 2 years ago
It looks like this is due to https://docs.pytest.org/en/stable/changelog.html. I tested pinning pytest==6.2.5 and then the test pass. @jesusbv inidicated he would rather fix the issue instead of pining. If you do something like this it seems to work
def setup(self):
with patch('os.path.exists') as mock_os_path_exists:
mock_os_path_exists.return_value = True
self.fstab = Fstab()
self.fstab.read('../data/fstab')
I could not see exactly in the change log why is causing this to fail now.
Merging changes are currently blocked as tox on master fails with