• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

amiv-eth / amivapi / 181
94%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2017 08:14PM UTC
Jobs 4
Files 69
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
181

push

travis-ci

web-flow
Ldap improvements (#175)

First of all, the structure of ldap.py is now simplified. The class is dropped
and replaced by a few module level functions which are easier to understand.

Next the functions themselves have been rearranged to be easier to test.
Some premature optimization has been removed: The updating of all users
now uses the same function as the one for one user only, since there were not
really noticable performance differences. Again, this simplifies testing.

Additionally repaired escape sequences. Either '\..' or r'\..' works, but r'\..' was to much ;)

Speaking of testing: Using mock, all ldap functions are now tested.
There still are some integration tests to verify everything actually works with the
eth ldap.

Finally a few changes in bootstrap, cli and sessions to use the new functions.

After all I am quite happy with this version now. A few points are still up for improvement and I have added them to ldap.py, but over all the code is much simpler and better tested now, which is nice.

2951 of 3101 relevant lines covered (95.16%)

2.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 181.1 (TOX_ENV=py27) 19 Apr 2017 08:15PM UTC 0
95.07
Travis Job 181.1
2 181.2 (TOX_ENV=py35) 19 Apr 2017 08:16PM UTC 0
95.13
Travis Job 181.2
3 181.3 (TOX_ENV=pypy) 19 Apr 2017 08:19PM UTC 0
95.1
Travis Job 181.3
4 181.4 (TOX_ENV=flake8) 19 Apr 2017 08:14PM UTC 0
Travis Job 181.4
Source Files on build 181
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #181
  • 7e87bcce on github
  • Prev Build on master (#173)
  • Next Build on master (#185)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc