mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-05-03 04:54:48 +00:00
Fixed error on test case.
This commit is contained in:
parent
0551f00dd7
commit
7385322ec4
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class XapianBackendTestCase(TestCase):
|
|||
|
||||
self.sample_objs = []
|
||||
|
||||
mock = XapianMockModel()
|
||||
mock = self.index.get_model()()
|
||||
mock.id = 1
|
||||
mock.author = 'david'
|
||||
mock.pub_date = datetime.date(2009, 2, 25)
|
||||
|
|
|
|||
Loading…
Reference in a new issue