Example #1
0
def test_delete_first_group(app):
    if app.group.count() == 0:
        app.group.create(group(name="bbb", header="ccc", footer="ddd"))
    app.group.delete_first_group()
Example #2
0
def test_add_group(app):
    app.group.create(group(name="Name", header="Head", footer="Footer"))
Example #3
0
def test_add_empty_group(app):
    app.group.create(group(name="", header="", footer=""))
Example #4
0
def test_add_empty_group(app):
    app.group.create(group(name="", header="", footer=""))
Example #5
0
def test_delete_first_group(app):
    if app.group.count() == 0:
        app.group.create(group(name = 'test'))
    app.group.delete_first_group()
Example #6
0
def test_add_group(app):
    app.session.login(username="******", password="******")
    app.group.create(
        group(name="group_name_cool", header="group_header_cool_logo"))
    app.session.logout()
Example #7
0
def test_add_group(app):
    app.group.create(group(name="bbb", header="ccc", footer="ddd"))
Example #8
0
def test_add_empty_group(app):
    app.session.login(username="******", password="******")
    app.group.create(group(name="", header=""))
    app.session.logout()
Example #9
0
def test_edit_first_group_data(app):
    if app.group.count() == 0:
        app.group.create(group(name="bbb", header="ccc", footer="ddd"))
    app.group.edit_first_group(group(name="qwerty", header="asdf", footer="zxcv"))
Example #10
0
def test_edit_first_group_name(app):
    if app.group.count() == 0:
        app.group.create(group(name="bbb", header="ccc", footer="ddd"))
    app.group.edit_first_group_data(group(name="New group"))
Example #11
0
def test_big_modify_group_name(app):
    if app.group.count() == 0:
        app.group.create(group(name="Groups name for modify"))
    app.group.modify_first_group(group(name="New Name"))
Example #12
0
def test_big_modify_group_header(app):
    if app.group.count() == 0:
        app.group.create(group(header="Groups header for modify"))
    app.group.modify_first_group(group(header="New Header"))