Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add test cases for tidbcloudy #28

Merged
merged 25 commits into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6dbef1b
feat: support specifying timezone in timestamp_to_string() and get_cu…
Oreoxmt Oct 5, 2023
0708ba4
feat: add test for util.timestamp.py
Oreoxmt Oct 5, 2023
0fd59e8
feat: add test for TestTiDBCloudyBase
Oreoxmt Oct 5, 2023
f508db3
feat: add the configuration of test server
Oreoxmt Oct 5, 2023
8f6874c
mock_server: support the following endpoints and add tests:
Oreoxmt Oct 5, 2023
bee1ad3
feat: add test for CreateClusterConfig and UpdateClusterConfig
Oreoxmt Oct 5, 2023
6798d60
mock_server: support "Return organization monthly bills" and add test…
Oreoxmt Oct 5, 2023
74d99d4
fix: wrong subclass and type hint of BillingMonthSummaryByService
Oreoxmt Oct 5, 2023
bccb8c3
fix: update the return value of tidbcloudy_provider
Oreoxmt Oct 6, 2023
606e181
add test for:
Oreoxmt Oct 6, 2023
e39a826
fix: update the default value of page and page_size to 1, 10
Oreoxmt Oct 6, 2023
320b1b8
add test for update_component("tidb") and update_component("tikv")
Oreoxmt Oct 6, 2023
b134a20
add test for the repr of BillingMonthSummary
Oreoxmt Oct 6, 2023
b16dbc3
add test for "Create a cluster"
Oreoxmt Oct 6, 2023
3b34c2a
add test for "Delete a cluster"
Oreoxmt Oct 6, 2023
9ac261b
add test for "Modify a cluster"
Oreoxmt Oct 7, 2023
15f5240
refactor the mock server: test `ProjectService.update_cluster`
Oreoxmt Oct 7, 2023
dd3ccf0
refactor the mock server and test cases: use Blueprint.errorhandler
Oreoxmt Oct 8, 2023
c6d6967
release 1.1.0
Oreoxmt Oct 8, 2023
38de474
add pytest
Oreoxmt Oct 8, 2023
612237f
update README.md
Oreoxmt Oct 8, 2023
7470613
fix mock config
Oreoxmt Oct 8, 2023
7bb84e0
format
Oreoxmt Oct 8, 2023
7c4fa9f
refactor the create_project_aws_cmek: raise HTTPStatusError instead o…
Oreoxmt Oct 8, 2023
fc2c504
refactor: add exception handling for server_state.py
Oreoxmt Oct 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .idea/tidbcloudy.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,23 @@ You can use this SDK to access [TiDB Cloud](https://tidbcloud.com) and manage yo
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/Oreoxmt/tidbcloudy/releases/tag/v1.1.0" target="_blank" rel="noopener noreferrer">1.1.0</a></td>
<td>✅</td>
<td>❌</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>❌</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td><a href="https://github.com/Oreoxmt/tidbcloudy/releases/tag/v1.0.10" target="_blank" rel="noopener noreferrer">1.0.10</a></td>
<td>✅</td>
Expand Down
Loading