DESCRIPTION

CBQE-246: Add descending TCs to view quieries

Change-Id: I998d801f1b5bb29a82050eeaeeb7795f7afd710e


COMMENTS

author: Hugo Blankenship
date: 2012-06-19 18:39:32.627000000

Patch Set 1:

Build Started http://qa.hq.northscale.net/job/testrunner-Jasmin Rangel-master/1034/ 

-------------------------------------
author: Hugo Blankenship
date: 2012-06-19 18:48:43.035000000

Patch Set 1: Verified

Build Successful 

http://qa.hq.northscale.net/job/testrunner-Jasmin Rangel-master/1034/ : SUCCESS

-------------------------------------
author: Titus Ho
date: 2012-06-19 19:02:37.022000000

Patch Set 1: I would prefer that you didn't submit this

(1 inline comment)



Line:658, pytests/viewquerytests.py -> looking at logic here, you wouldn't need this section since…
index/2 can be substituted everywhere for expected_num_docs, etc.

Above, you can keep the code where the two expected_num_docs variables may need to be modified based on whether limit is set.   And after this you can add the limit filter to them if necessary:

for q in view.queries:
   q["limit"] = lmit

-------------------------------------
