def test_get_js_view_data(self):
        review_ui = self.file_attachment2.review_ui
        request = self.factory.get('test')
        request.user = self.user

        self.spy_on(review_ui.get_js_view_data)

        review_ui.render_to_response(request=request)

        self.assertTrue(review_ui.get_js_view_data.called)
Test to get current numeric timezone offset from UCT (i.e. -0700)
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/ui/tests.py/SandboxTests.test_get_js_view_data--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/timezone_test.py/TimezoneTestCase.test_get_offset