Skip to content

Commit

Permalink
Add changelog entry about smbpasswd. Add scripts to run tests and cov…
Browse files Browse the repository at this point in the history
…erage for py 2 and 3
  • Loading branch information
rnixx committed Apr 15, 2019
1 parent 4f5681a commit 3dfff8e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ History
1.0b9 (unreleased)
------------------

- Remove ``smbpasswd`` dependency. Use ``passlib`` instead.
[rnix]

- Use ``bytes_mode=False`` when using ``python-ldap``. This is the default
behavior in python 3 and handles everything as unicode/text except
entry attribute values.
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ Dependencies

- python-ldap

- smbpasswd
- passlib

- argparse

Expand Down
5 changes: 5 additions & 0 deletions run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

./$1/bin/coverage run --source=./src/node/ext/ldap ./$1/bin/test
./$1/bin/coverage report
./$1/bin/coverage html
15 changes: 15 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
set -e
TEST="bin/test node.ext.ldap"

clear

if [ -x "$(which python)" ]; then
./py2/$TEST
fi

echo ""

if [ -x "$(which python3)" ]; then
./py3/$TEST
fi

0 comments on commit 3dfff8e

Please sign in to comment.