Beispiel #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()
def test_add_group(app):
    app.group.create(group(name="Name", header="Head", footer="Footer"))
def test_add_empty_group(app):
    app.group.create(group(name="", header="", footer=""))
Beispiel #4
0
def test_add_empty_group(app):
    app.group.create(group(name="", header="", footer=""))
def test_delete_first_group(app):
    if app.group.count() == 0:
        app.group.create(group(name = 'test'))
    app.group.delete_first_group()
Beispiel #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()
Beispiel #7
0
def test_add_group(app):
    app.group.create(group(name="bbb", header="ccc", footer="ddd"))
Beispiel #8
0
def test_add_empty_group(app):
    app.session.login(username="******", password="******")
    app.group.create(group(name="", header=""))
    app.session.logout()
Beispiel #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"))
Beispiel #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"))
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"))
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"))