-
Notifications
You must be signed in to change notification settings - Fork 9
Version 2.13.0 🎉 #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.13.0 🎉 #102
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| """Module to hold the version utilities.""" | ||
|
|
||
| version_info = (2, 12, 0) | ||
| version_info = (2, 13, 0) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Severity: low 🟡 |
||
| __version__ = ".".join([str(x) for x in version_info]) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -561,6 +561,17 @@ def test_v2_account_create(self): | |
| assert account.url == "v2/accounts" | ||
| assert account.json.description == account_data["description"] | ||
|
|
||
| def test_v2_account_update(self): | ||
| """Test updating an account using v2 API.""" | ||
| account_id = "test_account_id" | ||
| update_data = {"description": "Updated test account"} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Severity: medium 🟠 |
||
|
|
||
| account = self.fintoc.v2.accounts.update(account_id, **update_data) | ||
|
|
||
| assert account.method == "patch" | ||
| assert account.url == f"v2/accounts/{account_id}" | ||
| assert account.json.description == update_data["description"] | ||
|
|
||
| def test_v2_account_numbers_list(self): | ||
| """Test getting all account numbers using v2 API.""" | ||
| account_id = "test_account_id" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Severity: medium 🟠
Duplicate addition of 'update' method in AccountsManager methods list across commits.