def initialize_database_and_server():
    """Creates a local database and starts up the web service."""
    mymodule.create_database()
    assert_true(mymodule.tables_exist())
    mymodule.start_web_server()
    admin = mymodule.get_admin_client()
    assert_true(admin.service_is_up)
def initialize_database_and_server():
    """Creates a local database and starts up the web service."""
    mymodule.create_database()
    assert_true(mymodule.tables_exist())
    mymodule.start_web_server()
    admin = mymodule.get_admin_client()
    assert_true(admin.service_is_up)
def initialize_database():
    """Creates a local database."""
    mymodule.create_database()
    assert_true(mymodule.tables_exist())
Example #4
0
def initialize_database():
    """Creates a local database."""
    mymodule.create_database()
    assert_true(mymodule.tables_exist())
Example #5
0
 def create_database(self):
     """Creates a local database."""
     mymodule.create_database()
     assert_true(mymodule.tables_exist())
 def create_database(self):
     """Setup... run before anything."""
     mymodule.create_database()
     assert_true(mymodule.tables_exist())