lightblue-platform / pyresttest

Python Rest Testing
Apache License 2.0
1 stars 1 forks source link

Update 'count' validation to be consistent #5

Closed jewzaam closed 10 years ago

jewzaam commented 10 years ago

Other validations have query + operator + expected [value]. Update the count validation to be an operator and expected value be the count.

Go from: {query: "foo", count: 1} To: {query: "foo", operator: "count", expected: 1}

It's more wordy but isn't a one-off format.