cjlee112 / spnet

selected papers network web engine
http://thinking.bioinformatics.ucla.edu/2011/07/02/open-peer-review-by-a-selected-papers-network/
GNU General Public License v2.0
40 stars 11 forks source link

Tests fail #95

Closed ketch closed 10 years ago

ketch commented 10 years ago

Running the tests, I get

» python test.py
Traceback (most recent call last):
  File "test.py", line 153, in <module>
    assert len(rec2.parent.recommendations) == 1
  File "/Users/ketch/Research/Software/spnet/spnet/base.py", line 33, in __get__
    target = self.fetcher(obj, **self.kwargs)
  File "/Users/ketch/Research/Software/spnet/spnet/core.py", line 17, in fetch_recs
    return filter(lambda p:p.is_rec(), obj.posts)
AttributeError: 'Paper' object has no attribute 'posts'

@cjlee112 says the tests have not been updated to reflect some recent refactoring.

ketch commented 10 years ago

The tests are passing again as of 0d63778819980dcdf3700041fd42e03d720d4c3e, thanks to @cjlee112 .