[pylons-discuss] Re: is request.view_name set via url dispatch , or just traversal?

2015-02-12 Thread Jonathan Vanasco
Thanks a ton. I couldn't figure out what was going on -- I tried this on 3 operating systems, each with a clean virtualenv. Then I realized I had meant to use `request.matched_route.name`, and not `request.view_name` -- You received this message because you are subscribed to the Google Group

[pylons-discuss] Re: is request.view_name set via url dispatch , or just traversal?

2015-02-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/12/2015 09:16 PM, Jonathan Vanasco wrote: > I use URL Dispatch, and can't ever seem to see request.view_name > populated. > > can someone confirm if it is supposed to appear in url dispatch > routing as well? if so, i must be over-riding it som

[pylons-discuss] is request.view_name set via url dispatch , or just traversal?

2015-02-12 Thread Jonathan Vanasco
I use URL Dispatch, and can't ever seem to see request.view_name populated. can someone confirm if it is supposed to appear in url dispatch routing as well? if so, i must be over-riding it somehow or have a bad install of something. -- You received this message because you are subscribed to t

Re: [pylons-discuss] WebTest functional testing

2015-02-12 Thread Robert Daniels
That will help - thanks On Wednesday, February 11, 2015 at 4:23:13 PM UTC-5, Tom Lazar wrote: > > have you looked into pytest’s parametrize feature? sounds like it could > apply to your case… > > http://pytest.org/latest/parametrize.html > > hth, > > tom > > On 11 Feb 2015, at 21:12, Robert Danie