You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2021/05/11 15:13:00 UTC

[jira] [Created] (DISPATCH-2113) Remove all relative path references in python system tests

Ganesh Murthy created DISPATCH-2113:
---------------------------------------

             Summary: Remove all relative path references in python system tests
                 Key: DISPATCH-2113
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2113
             Project: Qpid Dispatch
          Issue Type: Test
          Components: Tests
    Affects Versions: 1.15.0
            Reporter: Ganesh Murthy
            Assignee: Ganesh Murthy


Several tests use relative paths to get log files. For example in system_tests_protocol_settings.py we have
{noformat}
 with open('../setUpClass/MaxSessions.log', 'r') as router_log:{noformat}
 

The above line can be replaced with:
{noformat}
logfile = os.path.join(self.router.outdir, self.router.logfile)
with open(logfile, 'r') as router_log: {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org