def test_exclude_values(self):
        class ExcludedFields1(admin.ModelAdmin):
            exclude = ('foo')
        self.assertRaisesMessage(ImproperlyConfigured,
            "'ExcludedFields1.exclude' must be a list or tuple.",
            validate,
            ExcludedFields1, Book)
The compilation result.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/admin_validation/tests.py/ValidationTestCase.test_exclude_values--crossover with--dataset/ETHPy150Open openstack/taskflow/taskflow/engines/action_engine/engine.py/ActionEngine.compilation