diff options
Diffstat (limited to 'service/test/unit/resources/test_sync_info_controller.py')
| -rw-r--r-- | service/test/unit/resources/test_sync_info_controller.py | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/service/test/unit/resources/test_sync_info_controller.py b/service/test/unit/resources/test_sync_info_controller.py index c24c7181..a91dd386 100644 --- a/service/test/unit/resources/test_sync_info_controller.py +++ b/service/test/unit/resources/test_sync_info_controller.py @@ -21,7 +21,7 @@ from pixelated.resources.sync_info_resource import SyncInfoResource  from mockito import * -class SyncInfoControllerTest(unittest.TestCase): +class SyncInfoResourceTest(unittest.TestCase):      def setUp(self):          self.dummy_request = request_mock() @@ -33,8 +33,7 @@ class SyncInfoControllerTest(unittest.TestCase):          self.controller.set_sync_info(soledad_sync_data)      def get_sync_info(self): -        self.controller.render_GET(self.dummy_request) -        return json.loads(self.dummy_request.written[0]) +        return json.loads(self.controller.render_GET(self.dummy_request))      def test_is_not_syncing_if_total_is_equal_to_current(self):          self._set_count(total=0, current=0) | 
