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