i using paster create a new controller product it create two python files controllers/product.py and test_product.py
when i run nosetests, it caused all ModelTest failed. raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect) OperationalError: (OperationalError) no such table: auth_user u'INSERT INTO auth_user (user_name, email_address, display_name, password, created, code, credit, real_name, gender, birthday, marriage, id_card, telphone, mobilephone, qq, msn) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' [u'jeffrey', u'[email protected]', None, None, '2009-04-08 17:31:00.686201', None, None, None, None, None, None, None, None, None, None, None] cod of test_product.py: class TestProductController(TestController): def test_index(self): response = self.app.get(url(controller='product', action='index')) # Test response... but when i change the code to "app.get('/product/index')", it will be fine. is it a bug?? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

