Exemple #1
0
def test_foreman_service():
    core.git_repository("responsive", "git://github.com/kyleconroy/areyouresponsive.git")

    with cd("responsive"):
        core.foreman_service("areyouresponsive")

    sudo("test -f /etc/init/areyouresponsive.conf")
Exemple #2
0
def test_foreman_service():
    core.git_repository("responsive",
                        "git://github.com/kyleconroy/areyouresponsive.git")

    with cd("responsive"):
        core.foreman_service("areyouresponsive")

    sudo("test -f /etc/init/areyouresponsive.conf")
Exemple #3
0
def test_git_repo():
    core.package("git-core")
    core.git_repository("seamstress",
                        "git://github.com/kyleconroy/seamstress.git")
    with cd("seamstress"):
        assert_in("master", run("git branch"))
Exemple #4
0
def test_git_repo():
    core.package("git-core")
    core.git_repository("seamstress", "git://github.com/kyleconroy/seamstress.git")
    with cd("seamstress"):
        assert_in("master", run("git branch"))