Ticket #724: lookup_patch.txt

File lookup_patch.txt, 554 bytes (added by mattycakes@…, 9 years ago)

Patch to lookup API tests

Line 
1Index: tests/testapp/models/lookup.py
2===================================================================
3--- tests/testapp/models/lookup.py      (revision 1154)
4+++ tests/testapp/models/lookup.py      (working copy)
5@@ -103,4 +103,16 @@
6 Article 4
7 >>> a5.get_previous_by_pub_date()
8 Article 6
9+>>> a4.get_previous_by_pub_date()
10+Article 3
11+>>> a3.get_previous_by_pub_date()
12+Article 2
13+>>> a2.get_previous_by_pub_date()
14+Article 1
15+>>> a1.get_next_by_pub_date()
16+Article 2
17+>>> a2.get_next_by_pub_date()
18+Article 3
19+>>> a3.get_next_by_pub_date()
20+Article 4
21 """
Back to Top