search for: drop_all

Displaying 2 results from an estimated 2 matches for "drop_all".

2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
...ine = config['pylons.app_globals'].sa_engine + model.init_model(engine) + model.metadata.create_all(engine) + +def teardown_db(): + """Method used to destroy a database""" + engine = config['pylons.app_globals'].sa_engine + model.metadata.drop_all(engine) + + +class TestController(object): + """ + Base functional test case for the controllers. + + The server application instance (``self.app``) set up in this test + case (and descendants) has authentication disabled, so that developers can + test the protected ar...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...ine = config['pylons.app_globals'].sa_engine - model.init_model(engine) - model.metadata.create_all(engine) - -def teardown_db(): - """Method used to destroy a database""" - engine = config['pylons.app_globals'].sa_engine - model.metadata.drop_all(engine) - - -class TestController(object): - """ - Base functional test case for the controllers. - - The server application instance (``self.app``) set up in this test - case (and descendants) has authentication disabled, so that developers can - test the protected ar...