[
https://issues.apache.org/jira/browse/DISPATCH-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249611#comment-17249611
]
ASF GitHub Bot commented on DISPATCH-1885:
------------------------------------------
jiridanek opened a new pull request #956:
URL: https://github.com/apache/qpid-dispatch/pull/956
`functools.wraps` is available in Python 2.6, I checked.
The tests mentioned in issue description do not have docstring on their own,
so the docstring line is now omitted:
```
{noformat}
test 43
Start 43: system_tests_authz_service_plugin
43: Test command: /usr/bin/bwrap "--bind" "/" "/" "--bind" "/dev/zero"
"/etc/nsswitch.conf" "--unshare-net" "--dev" "/dev" "--die-with-parent" "--"
"/opt/hostedtoolcache/Python/3.7.9/x64/bin/python"
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/run.py"
"-m" "unittest" "-v" "system_tests_authz_service_plugin"
43: Test timeout computed to be: 600
43: test_authorized
(system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest) ... ok
43: test_dynamic_source_anonymous_sender
(system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest) ... ok
43: test_unauthorized
(system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest) ... ok
43: test_unauthorized_anonymous_sender_target
(system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest) ... ok
43: test_wildcard
(system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest) ... ok
43: test_authorized
(system_tests_authz_service_plugin.AuthServicePluginAuthzTest) ... ok
{noformat}
```
Here it's working for tests that do have their own docstrings
```
{noformat}
test 42
Start 42: system_tests_auth_service_plugin
42: Test command: /usr/bin/bwrap "--bind" "/" "/" "--bind" "/dev/zero"
"/etc/nsswitch.conf" "--unshare-net" "--dev" "/dev" "--die-with-parent" "--"
"/opt/hostedtoolcache/Python/3.7.9/x64/bin/python"
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/run.py"
"-m" "unittest" "-v" "system_tests_auth_service_plugin"
42: Test timeout computed to be: 600
42: test_invalid_credentials
(system_tests_auth_service_plugin.AuthServicePluginDeprecatedTest)
42: Check authentication fails when invalid credentials are presented. ... ok
42: test_valid_credentials
(system_tests_auth_service_plugin.AuthServicePluginDeprecatedTest)
42: Check authentication succeeds when valid credentials are presented. ...
ok
42: test_invalid_credentials
(system_tests_auth_service_plugin.AuthServicePluginTest)
42: Check authentication fails when invalid credentials are presented. ... ok
42: test_valid_credentials
(system_tests_auth_service_plugin.AuthServicePluginTest)
42: Check authentication succeeds when valid credentials are presented. ...
ok
42:
42: ----------------------------------------------------------------------
42: Ran 4 tests in 1.359s
42:
42: OK
{noformat}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> SkipIfNeeded decorator overrides the docstrings of the test with its own
> ------------------------------------------------------------------------
>
> Key: DISPATCH-1885
> URL: https://issues.apache.org/jira/browse/DISPATCH-1885
> Project: Qpid Dispatch
> Issue Type: Test
> Components: Tests
> Affects Versions: 1.14.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Minor
> Fix For: 1.15.0
>
>
> https://github.com/apache/qpid-dispatch/runs/1552530859#step:9:1158
> {noformat}
> test 43
> Start 43: system_tests_authz_service_plugin
> 43: Test command: /usr/bin/bwrap "--bind" "/" "/" "--bind" "/dev/zero"
> "/etc/nsswitch.conf" "--unshare-net" "--dev" "/dev" "--die-with-parent" "--"
> "/opt/hostedtoolcache/Python/3.7.9/x64/bin/python"
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/run.py"
> "-m" "unittest" "-v" "system_tests_authz_service_plugin"
> 43: Test timeout computed to be: 600
> 43: test_authorized
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: Wraps original test method's invocation and dictates whether or ... ok
> 43: test_dynamic_source_anonymous_sender
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: Wraps original test method's invocation and dictates whether or ... ok
> 43: test_unauthorized
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: Wraps original test method's invocation and dictates whether or ... ok
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]