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 19:29:00 UTC

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

     [ https://issues.apache.org/jira/browse/DISPATCH-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy resolved DISPATCH-2113.
-------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 1.17.0
>
>
> 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