'Create necessary user accounts and login as an admin user.'

def test_0000_initiate_users(self):

    '\n                                Create    all    the    user    accounts    that    are    needed    for    this    test    script    to    run    independently    of    other    test.\n                                Previously    created    accounts    will    not    be    re-created.\n                                '
    self.login(email=common.test_user_1_email, username=common.test_user_1_name)
    test_user_1 = self.test_db_util.get_user(common.test_user_1_email)
    assert (test_user_1 is not None), ('Problem    retrieving    user    with    email    %s    from    the    database' % common.test_user_1_email)
    self.test_db_util.get_private_role(test_user_1)
    self.login(email=common.test_user_2_email, username=common.test_user_2_name)
    test_user_2 = self.test_db_util.get_user(common.test_user_2_email)
    assert (test_user_2 is not None), ('Problem    retrieving    user    with    email    %s    from    the    database' % common.test_user_2_email)
    self.test_db_util.get_private_role(test_user_2)
    self.login(email=common.test_user_3_email, username=common.test_user_3_name)
    test_user_3 = self.test_db_util.get_user(common.test_user_3_email)
    assert (test_user_3 is not None), ('Problem    retrieving    user    with    email    %s    from    the    database' % common.test_user_3_email)
    self.test_db_util.get_private_role(test_user_3)
    self.login(email=common.admin_email, username=common.admin_username)
    admin_user = self.test_db_util.get_user(common.admin_email)
    assert (admin_user is not None), ('Problem    retrieving    user    with    email    %s    from    the    database' % common.admin_email)
    self.test_db_util.get_private_role(admin_user)
