def test_if_marathon_app_can_be_deployed_with_mesos_containerizer(dcos_api_session):
 (app, test_uuid) = get_test_app()
 app['container'] = {'type': 'MESOS', 'docker': {'image': 'debian:jessie'}, 'volumes': [{'containerPath': '/opt/mesosphere', 'hostPath': '/opt/mesosphere', 'mode': 'RO'}]}
 dcos_api_session.marathon.deploy_test_app_and_check(app, test_uuid)

def test_if_marathon_app_can_be_deployed_with_mesos_containerizer ( dcos_api_session ) : ( app , test_uuid ) = get_test_app ( ) app [ 'container' ] = { 'type' : 'MESOS' , 'docker' : { 'image' : 'debian:jessie' } , 'volumes' : [ { 'containerPath' : '/opt/mesosphere' , 'hostPath' : '/opt/mesosphere' , 'mode' : 'RO' } ] } dcos_api_session . marathon . deploy_test_app_and_check ( app , test_uuid )
marathon app deployment integration test using the mesos containerizer this test verifies that a marathon app using the mesos containerizer with a docker image can be deployed .