Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Ben Bangert
On Mar 27, 2010, at 5:01 PM, Mike Orr wrote: > On Sat, Mar 27, 2010 at 3:32 PM, Ben Bangert wrote: >> On Mar 27, 2010, at 3:40 AM, grassoalvaro wrote: >> >>> i have problem with some automatic tests. Simple example: >>> >>> [code] >>> >>> from test.tests import * >>> from pylons import tmpl_c

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Mike Orr
On Sat, Mar 27, 2010 at 3:32 PM, Ben Bangert wrote: > On Mar 27, 2010, at 3:40 AM, grassoalvaro wrote: > >> i have problem with some automatic tests. Simple example: >> >> [code] >> >> from test.tests import * >> from pylons import tmpl_context as c >> >> class TestBlaController(TestController): >

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Ben Bangert
On Mar 27, 2010, at 3:40 AM, grassoalvaro wrote: > i have problem with some automatic tests. Simple example: > > [code] > > from test.tests import * > from pylons import tmpl_context as c > > class TestBlaController(TestController): > >def test_index(self): >response = self.app.get

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Mar 2010, at 10:40, grassoalvaro wrote: Hi, i have problem with some automatic tests. Simple example: [code] from test.tests import * from pylons import tmpl_context as c class TestBlaController(TestController): def test_index(self):

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread grassoalvaro
Thanks for the answer. So i'm waitng for fixing this bug. On 27 Mar, 19:59, Mike Orr wrote: > On Sat, Mar 27, 2010 at 3:40 AM, grassoalvaro wrote: > > Hi, > > > i have problem with some automatic tests. Simple example: > > > [code] > > > from test.tests import * > > from pylons import tmpl_conte

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Mike Orr
On Sat, Mar 27, 2010 at 3:40 AM, grassoalvaro wrote: > Hi, > > i have problem with some automatic tests. Simple example: > > [code] > > from test.tests import * > from pylons import tmpl_context as c > > class TestBlaController(TestController): > >    def test_index(self): >        response = self

Pylons nosetests and tmpl_context

2010-03-27 Thread grassoalvaro
Hi, i have problem with some automatic tests. Simple example: [code] from test.tests import * from pylons import tmpl_context as c class TestBlaController(TestController): def test_index(self): response = self.app.get(url(controller='bla', action='index')) c.test = 'dupa'