def test_fake_class_is_not_gettable(self):
        with self.assertRaisesRegexp(TypeError, 'not a valid object class'):
            obj_services.Registry.get_object_class_by_type('FakeClass')
Tests that trying to retrieve a fake class raises an error.
dataset/ETHPy150Open oppia/oppia/core/domain/obj_services_test.py/ObjectRegistryUnitTests.test_fake_class_is_not_gettable