-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asText fails when we try to print the filter #226
base: master
Are you sure you want to change the base?
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. |
asText
function 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:
ldapserver
as 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):