drslump / pyshould

Should style asserts based on pyhamcrest
MIT License
38 stars 7 forks source link

tests lacking a req #22

Closed lowks closed 10 years ago

lowks commented 10 years ago

python setup.py develop followed by python setup.py test does not work and end up in :

======================================================================
ERROR: Failure: ImportError (No module named hamcrest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/lowks/src/python/pyshould/tests/__init__.py", line 3, in <module>
    from .dsl import DslTestCase
  File "/home/lowks/src/python/pyshould/tests/dsl.py", line 5, in <module>
    from pyshould import *
  File "/home/lowks/src/python/pyshould/pyshould/__init__.py", line 4, in <module>
    from pyshould.dsl import *
  File "/home/lowks/src/python/pyshould/pyshould/dsl.py", line 5, in <module>
    from pyshould.expectation import (
  File "/home/lowks/src/python/pyshould/pyshould/expectation.py", line 5, in <module>
    import hamcrest as hc
ImportError: No module named hamcrest