def METHOD_NAME(self):
    invalid_app = {
        'application': {
            'applicationName': 'test-application',
            'computePlatform': 'Server'
        }
    }
    bad_validator = CodeDeployValidator(None, self.TEST_RESOURCES)
    bad_validator.app_details = invalid_app
    with self.assertRaises(InvalidPlatformError):
        bad_validator.validate_application()