Exemple #1
0
def test_deploy_dry_run():
    client = MarathonClient("http://marathon.somedomain.com:8080")
    client.dry_run = True
    with pytest.raises(DryRun):
        client.deploy({"id": "test-app"})