This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository 389-ds-base.
commit 4c1a5c750b67ccd78f37c9c35fdcacbe59c02c75
Author: William Brown <firstyear(a)redhat.com>
Date: Wed Feb 22 15:21:00 2017 +1000
Ticket 49142 - bytes vs unicode in plugin tests
Bug Description: In some cases on RHEL7 the plugin_tests can fail
due to the diff with bytes and unicode.This is because the test
uses the legacy backend manager that is not updated for modern
python
Fix Description: Swap the test to the new backend manager that does
handle this.
https://pagure.io/389-ds-base/issue/49142
Author: wibrown
Review by: mreynolds (Thanks!)
---
dirsrvtests/tests/suites/dynamic-plugins/plugin_tests.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dirsrvtests/tests/suites/dynamic-plugins/plugin_tests.py
b/dirsrvtests/tests/suites/dynamic-plugins/plugin_tests.py
index 1ae1034..0cbc54b 100644
--- a/dirsrvtests/tests/suites/dynamic-plugins/plugin_tests.py
+++ b/dirsrvtests/tests/suites/dynamic-plugins/plugin_tests.py
@@ -1789,8 +1789,10 @@ def test_passthru(inst, args=None):
passthru_inst.open()
# Create a second backend
- passthru_inst.backend.create(PASS_SUFFIX2, {BACKEND_NAME: PASS_BE2})
- passthru_inst.mappingtree.create(PASS_SUFFIX2, bename=PASS_BE2)
+ passthru_inst.backends.create(None, properties={
+ BACKEND_NAME: PASS_BE2,
+ 'suffix': PASS_SUFFIX2,
+ })
# Create the top of the tree
try:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.