tests w/o ldap environment

RESOLVED FIXED

Status

Cloud Services
Server: Core
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: tarek, Assigned: telliott)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Hudson is failing on test_mozilla

Traceback (most recent call last):
  File "/usr/lib64/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/srv/hudson/jobs/Sync-Server-Unit-tests/workspace/lib/python2.6/site-packages/nose-1.0.0-py2.6.egg/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/srv/hudson/jobs/Sync-Server-Unit-tests/workspace/lib/python2.6/site-packages/nose-1.0.0-py2.6.egg/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/srv/hudson/jobs/Sync-Server-Unit-tests/workspace/lib/python2.6/site-packages/nose-1.0.0-py2.6.egg/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/srv/hudson/jobs/Sync-Server-Unit-tests/workspace/deps/server-core/services/tests/test_mozilla.py", line 39, in <module>
    from services.auth.mozilla import MozillaAuth
  File "/srv/hudson/jobs/Sync-Server-Unit-tests/workspace/deps/server-core/services/auth/mozilla.py", line 39, in <module>
    import ldap
ImportError: No module named ldap


This test should (like test_ldapsql) check if ldap is present before running the tests.
(Assignee)

Comment 1

7 years ago
fixed in http://hg.mozilla.org/services/server-core/rev/83995122ca77
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.