

def test_not_implemented_methods(self):
    Normal.objects.language('en').get(pk=self.normal_id[1])
    manager = get_translation_aware_manager(Standard)
    with translation.override('en'):
        self.assertRaises(NotImplementedError, manager.aggregate)
        self.assertRaises(NotImplementedError, manager.dates, 'dummy', 'dummy')
        manager.assertRaises(NotImplementedError, manager.datetimes, 'dummy')
        self.assertRaises(NotImplementedError, manager.complex_filter, Q(normal_field=''))
        self.assertRaises(NotImplementedError, manager.annotate)
        self.assertRaises(NotImplementedError, manager.reverse)
        self.assertRaises(NotImplementedError, manager.defer)
        self.assertRaises(NotImplementedError, manager.only)
        qs = manager.all()
        self.assertEqual(qs, qs.complex_filter({
            
        }))

dataset/ETHPy150Open KristianOellegaard/django-hvad/hvad/tests/related.py StandardToTransFKTest.test_not_implemented_methods/VarMisuse@74/100 `self`->`manager`