Description
Several tests use relative paths to get log files. For example in system_tests_protocol_settings.py we have
with open('../setUpClass/MaxSessions.log', 'r') as router_log:
The above line can be replaced with:
logfile = os.path.join(self.router.outdir, self.router.logfile) with open(logfile, 'r') as router_log: