Closed Bug 1034185 Opened 10 years ago Closed 10 years ago

Kuma: ./manage.py test apps/access fails

Categories

(developer.mozilla.org Graveyard :: Code Cleanup, defect)

All
Other
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Unassigned)

References

Details

(Whiteboard: [specification][type:bug][dev-papercut])

What did you do?
================
1. ./manage.py test apps/access

What happened?
==============
Failure:

======================================================================
ERROR: Failure: ImportError (No module named forums.models)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vagrant/src/vendor/packages/nose/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/vagrant/src/vendor/packages/nose/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/vagrant/src/vendor/packages/nose/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/vagrant/src/apps/access/tests/__init__.py", line 7, in <module>
    from forums.models import Forum, Thread
ImportError: No module named forums.models

----------------------------------------------------------------------
Ran 1 test in 0.002s

FAILED (errors=1)


What should have happened?
==========================
No failures

Is there anything else we should know?
======================================
Blocks: 1034149
Severity: normal → major
Whiteboard: [specification][type:bug] → [specification][type:bug][dev-papercut]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: major → minor
Component: General → Code Cleanup
Commit pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/34dabbf97559c8fb52635f1be8cf460c21ddb5d4
fix bug 1034185 - made access tests actually runnable.

Removes a bunch of old code that must have been there for the creation of kuma.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.