'Tests Value Error on setting non-integer version'

def test_set_api_version_valid(self):

    args = {'major': '20', 'minor': 1}
    expected_call_args_list = [mock.call('20'), mock.call(1)]
    mock_invoke = self.mock_object(six, 'text_type', return_value='str')
    self.root.set_api_version(**args)
    self.assertEqual(expected_call_args_list, mock_invoke.call_args_list)
