<s> from pytest import raises <EOL> from ceph_deploy import exc <EOL> class TestExecutableNotFound ( object ) : <EOL> def test_executable_is_used ( self ) : <EOL> with raises ( exc . DeployError ) as error : <EOL> raise exc . ExecutableNotFound ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> assert "<STR_LIT>" in str ( error ) <EOL> def test_host_is_used ( self ) : <EOL> with raises ( exc . DeployError ) as error : <EOL> raise exc . ExecutableNotFound ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> assert "<STR_LIT>" in str ( error ) </s>
