Exemplo n.º 1
0
def and_i_have_two_applications_marked_as_installed_in_my_db(step):
    for app in App.objects.all():
        app.delete()

    app = App(name="Hello World 01", slug="hello-world-01")
    app.save()
    app = App(name="Hello World 02", slug="hello-world-02")
    app.save()
Exemplo n.º 2
0
def set_browser():
    world.browser = Client()

    for app in App.objects.all():
        app.delete()

    app = App(name="Hello World 01", slug="hello-world-01")
    app.save()
    app = App(name="Hello World 02", slug="hello-world-02")
    app.save()