def test_get_js_model_data(self):
        review_ui = self.file_attachment3.review_ui
        request = self.factory.get('test')
        request.user = self.user

        self.spy_on(review_ui.get_js_model_data)

        review_ui.render_to_response(request=request)

        self.assertTrue(review_ui.get_js_model_data.called)
Load os metadata from inmemory db and map it by os_id.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/ui/tests.py/SandboxTests.test_get_js_model_data--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/api/metadata_holder.py/_load_os_metadatas