def test_get_loaded_extensions(self):
        ext = extension.CementExtensionHandler()
        ext._setup(self.app)

        res = 'cement.ext.ext_json' not in ext.get_loaded_extensions()
        self.ok(res)

        ext.load_extensions(['json'])

        res = ext.get_loaded_extensions() in 'cement.ext.ext_json'
        self.ok(res)
dataset/ETHPy150Open datafolklabs/cement/tests/core/extension_tests.py/ExtensionTestCase.test_get_loaded_extensions/swapped operands of `in`