Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

failure when calling foreman ... nosetests directly #1083

Closed
chadwhitacre opened this issue Jun 25, 2013 · 1 comment
Closed

failure when calling foreman ... nosetests directly #1083

chadwhitacre opened this issue Jun 25, 2013 · 1 comment

Comments

@chadwhitacre
Copy link
Contributor

Reticketing from #1078. I don't get this from make test:

[gittip] $ foreman run -e env nosetests test_billing_payday.py
E
======================================================================
ERROR: Failure: ImportError (cannot import name Participant)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/whit537/personal/gittip/www.gittip.com/env/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/whit537/personal/gittip/www.gittip.com/env/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/whit537/personal/gittip/www.gittip.com/env/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Users/whit537/personal/gittip/www.gittip.com/tests/test_billing_payday.py", line 11, in <module>
    from gittip.billing.payday import FEE_CHARGE, Payday
  File "/Users/whit537/personal/gittip/www.gittip.com/gittip/billing/payday.py", line 27, in <module>
    from gittip.participant import Participant
  File "/Users/whit537/personal/gittip/www.gittip.com/gittip/participant.py", line 11, in <module>
    from gittip.models import community
  File "/Users/whit537/personal/gittip/www.gittip.com/gittip/models/__init__.py", line 4, in <module>
    from gittip.models.participant import Participant
  File "/Users/whit537/personal/gittip/www.gittip.com/gittip/models/participant.py", line 22, in <module>
    from gittip.participant import Participant as OldParticipant
ImportError: cannot import name Participant

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

FAILED (errors=1)
[gittip] $
@chadwhitacre
Copy link
Contributor Author

Closing as obsolete after #1320.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant