[Freeipa-devel] [freeipa PR#42] Tests: Avoid skipping tests due to missing files (comment)

2016-08-31 Thread mbasti-rh
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)

[Freeipa-devel] [freeipa PR#42] Tests: Avoid skipping tests due to missing files (comment)

2016-08-31 Thread mbasti-rh
mbasti-rh commented on a pull request """ I don't like this. Will we have if/elif for each possible location of where tests are executed. What changed? I'm sure those tests work in past. Why dir where test is executed was changed? """ See the full comment at