Faster Tests

Problem: 'How do I keep the previous value of self.app'

Solution: Using some global variables may help. A function namely get_previous() will return the previous self.app and self.ctx values. Now these values can be assigned to the current self.app and self.ctx under some given conditions. This can be done only when previous config was the same one i.e. wikiconfig.Config in this case. So, adding some conditions should work. Also need to take care of deinit_test_app().

MoinMoin: pkumar_diary/2011-06-15 (last edited 2011-06-20 10:38:52 by PrashantKumar)