Hi all,

I'm used to have something like the following in my tests setup:

  https://gitlab.com/metapensiero/SoL/-/blob/master/tests/server/conftest.py#L45

that allows me to use the route name in my tests instead of the view URL,
like:

  
https://gitlab.com/metapensiero/SoL/-/blob/master/tests/server/test_data.py#L15

I wonder if I'm missing some existing similar facility, of if instead that
approach could be suggested in the documentation, say here

  
https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/testing.html#creating-functional-tests

What do you think?

Thanks&bye, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected]  |                 -- Fortunato Depero, 1929.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/87h7ozqkqx.fsf%40metapensiero.it.

Reply via email to