def test_error_is_raised_if_external_model_name_is_undefined(self):
    with self.assertRaisesRegexp(Exception, 'External model name should be specified'):
        MockSnapshotContentModelValidator().validate(self.item)
def test_error_is_raised_if_external_model_name_is_undefined(self):
    with self.assertRaisesRegexp(Exception, 'External model name should be specified'):
        MockSnapshotContentModelValidator().validate(self.item)