asText fails when we try to print the filter#226
asText fails when we try to print the filter#226grk-it wants to merge 5 commits intotwisted:masterfrom
Conversation
- `asText` function errors out when we try to print the human friendly text for the filters. This commit fixes the same. - Updated tests for the above the change.
Codecov Report
@@ Coverage Diff @@
## master #226 +/- ##
==========================================
- Coverage 83.28% 82.50% -0.79%
==========================================
Files 87 87
Lines 11567 11794 +227
Branches 1184 1232 +48
==========================================
+ Hits 9634 9731 +97
- Misses 1815 1943 +128
- Partials 118 120 +2
Continue to review full report at Codecov.
|
|
@psi29a @graingert Could any of you please help me with the approval for running the flow and the review subsequently. |
|
hmm I only have permission to force merge this PR as administrator. I don't have permission to enable CI |
|
I have approved the run now. @graingert I think that you should now be owner of everything and in the future you should be able to approve the CI run for new contributors. |
asTextfunction errors out when we try to print the human friendly text for the filters. This commit tries to fix the same.Context:
Steps to reproduce:
ldapserveras mentioned in the following blog:http://tonthon.blogspot.com/2011/02/ldaptor-ldap-with-twisted-server-side.html
Here's the contents of the folder
ldaptor-example:Python version:
To start the server:
venv/lib/python3.8/site-packages/ldaptor/protocols/ldap/ldapserver.py:Here's the backtrace on the server side:
Here's the test report after running the tests in the local (after the fix):