(Resending, since Google Groups is in a snit and didn't want to accept
my primary email address, insisting I use the @gmail.com one.)
On Wed, Apr 08, 2009 at 08:25:49AM -0700, Jonathan Vanasco wrote:
I've found unit-testing to be not worth it -- it always passes, but I
find tons of errors on
Previously Marius Gedminas wrote:
Testing JavaScript is a bit harder. I've seen how people integrate
JavaScript *unit* tests into their py.test test suite, and I've used those
ideas to define a unittest.TestCase subclass that spawns a browser
window and drives it to run JsUnit-compatible
Hi Folks,
Sorry if this is a newbie question, but I'm having trouble figuring
out session management in pylons using the built in beaker module.
I am attempting to do session management and authentication using the
following:
class BaseController(WSGIController):
requires_auth = False
Can you post the error which causes the issues? I don't think why
SessionMiddleware has to have requires_auth attribute.
requires_auth is defined in the base controller. May be you need to
access requires_auth as self.requires_auth, its not
session.requires_auth.
You can use AuthKit or
When we create a pylons app first time using paster, where the session
and cache data are stored? Do they have expiry time? what is the
performance if I store the more than 1000 tags into the cache? Is it
CPU intensive?
I have websites with around 1000 tags. Tags has two properties. Tag Id
On Apr 10, 2009, at 2:59 AM, Richard Jones wrote:
Sorry if this is a newbie question, but I'm having trouble figuring
out session management in pylons using the built in beaker module.
I am attempting to do session management and authentication using the
following:
class
this is pretty neat - i didn't know you could drive selenium through
python/unittest. that would do exactly what i need!
and yes, a balance of unit tests and integrated/functional is the best
mix.
--~--~-~--~~~---~--~~
You received this message because you are
everything is stored it's in a data directory in the project's
directory ( cache , session )
you can control the data-store type for each
but in your example, it might make more sense to do either:
1- use a global hash to store your tags
2- use a memory cache to store your tags
3- use memcached
I use wmd-editor for editing markdown in the browser. When the content
is posted to the server, I need to get all the URLs and store them
separately in the database for tracking purpose.
I use webhelpers markdown for rendering. Are there any ways to get the
links from the markdown text.
thanks