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

amiv-eth / amivapi / 181 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2017 08:15PM UTC
Files 69
Run time 4s
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

19 Apr 2017 08:12PM UTC coverage: 95.066% (+4.5%) from 90.521%
TOX_ENV=py27

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.

2948 of 3101 relevant lines covered (95.07%)

0.95 hits per line

Source Files on job 181.1 (TOX_ENV=py27)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 181
  • Travis Job 181.1
  • 7e87bcce on github
  • Prev Job for TOX_ENV=py27 on master (#173.1)
  • Next Job for TOX_ENV=py27 on master (#185.1)
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