Hi there, I'm trying to run nosetests, but when I try to execute it I get
this error:

======================================================================
ERROR: Failure: KeyError ('__file__')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/nose/loader.py", line 379, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/pymodules/python2.6/nose/importer.py", line 39, in
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/pymodules/python2.6/nose/importer.py", line 86, in
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/pylons/visibility/visibility/tests/__init__.py", line 23, in
<module>
    SetupCommand('setup-app').run([config['__file__']])
  File "/usr/lib/pymodules/python2.6/paste/registry.py", line 146, in
__getitem__
    return self._current_obj()[key]
  File "/usr/lib/pymodules/python2.6/pylons/configuration.py", line 141, in
__getitem__
    return dict.__getitem__(self, name)
KeyError: '__file__'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)

Any ideas of what I might be doing wrong?

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to