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")
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"))