Skip to content

Commit

Permalink
Move the page-related call() methods and add tests
Browse files Browse the repository at this point in the history
Continues work on GAM-team#147
  • Loading branch information
ejochman committed Dec 9, 2019
1 parent 81ea27a commit ae8c29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gapi/__init___test.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def test_get_items_non_default_page_field_name(self):
def test_get_items_passes_additional_kwargs_to_service(self):
gapi.get_items(
self.mock_service, self.mock_method_name, my_param_1=1, my_param_2=2)
self.mock_method.assert_called_once()
self.assertEqual(self.mock_method.call_count, 1)
method_kwargs = self.mock_method.call_args[1]
self.assertEqual(1, method_kwargs.get('my_param_1'))
self.assertEqual(2, method_kwargs.get('my_param_2'))
Expand Down

0 comments on commit ae8c29f

Please sign in to comment.