lightblue-platform / pyresttest

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

Fix field extraction #14

Open jewzaam opened 10 years ago

jewzaam commented 10 years ago

It's a total hack right now, extraction was made part of validation. Move it out of validation into "something new", it has nothing to do with validation... just shares the same logic for query / parsing.

svanoort commented 9 years ago

Done in pyresttest upstream master. Extractors and validators are separate now -- validators use extractors to extract fields for additional validation. It took a while, but what you describe as 'hack' components are replaced now. It also uses contexts with bound variables in place of dumping everything into the environment vars. :-)