[Freeipa-devel] [freeipa PR#42] Tests: Avoid skipping tests due to missing files (comment)
mbasti-rh
freeipa-github-notification at redhat.com
Wed Aug 31 15:43:29 UTC 2016
mbasti-rh commented on a pull request
"""
Probably instead of that magic, there could be:
```
self.testdir = os.path.abspath(os.path.dirname(__file__))
```
It should always find the proper local directory
And please in read_file, instead of plus sign, use os.path.join(self.testdir, filename)
"""
See the full comment at https://github.com/freeipa/freeipa/pull/42#issuecomment-243806638
More information about the Freeipa-devel
mailing list