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

OCA / server-tools / 1425
69%
9.0: 86%

Build:
Build:
LAST BUILD BRANCH: 13_add_base_changeset
DEFAULT BRANCH: 9.0
Ran 03 Feb 2016 02:12PM UTC
Jobs 2
Files 81
Run time 21s
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
1425

Pull #349

travis-ci

clopez
Fix comparator equals when value is returned as a list.

 * At least with an OpenLDAP server, the values returned are always
   lists even when there is only one value. For example:

	{'cn': ['Carlos Lopez'],
	 'employeeType': ['employee'],
	 'givenName': ['Carlos'],
	 'loginShell': ['/bin/bash'],
	 }

 * Therefore, using the operator 'equals' for 'employeeType' == 'employee'
   will fail because the value is inside a list.

 * This patch checks if the value returned is a list and then picks the
   first field to do the comparision. If the value returned is not a list
   then it behaves as before.
Pull Request #349: Fix comparator equals when value is returned as a list.

7 of 7 new or added lines in 1 file covered. (100.0%)

1787 of 3301 relevant lines covered (54.14%)

1.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
100.0
users_ldap_groups/users_ldap_groups.py

Uncovered Existing Lines

Lines Coverage ∆ File
11
100.0
users_ldap_groups/users_ldap_groups.py
Jobs
ID Job ID Ran Files Coverage
3 1425.3 (TESTS="1" ODOO_REPO="odoo/odoo") 03 Feb 2016 02:13PM UTC 0
54.14
Travis Job 1425.3
4 1425.4 (TESTS="1" ODOO_REPO="OCA/OCB") 03 Feb 2016 02:12PM UTC 0
54.1
Travis Job 1425.4
Source Files on build 1425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1425
  • Pull Request #349
  • PR Base - 8.0 (#1418)
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

© 2025 Coveralls, Inc