Commit Graph

24 Commits

Author SHA1 Message Date
omg-xtao
05fcb568d6
Support genshin imaginarium theater 2024-07-01 23:03:26 +08:00
10654fc900
Support starrail rogue tourn 2024-06-29 20:34:15 +08:00
336405fe9e
Support starrail challenge boss 2024-06-19 21:56:13 +08:00
omg-xtao
f15dcce603
Support starrail calculator 2024-01-23 17:51:22 +08:00
洛水居室
9dd8b98f7c
🚚 Remove enums 2023-12-27 15:09:24 +08:00
091c257c3a Improve recognize_game_biz recognize_server 2023-09-11 21:08:44 +08:00
omg-xtao
ee385fea98
Tests Ignore NeedChallenge Error 2023-06-11 22:19:51 +08:00
omg-xtao
db76c21d4a
Add starrail museum 2023-06-11 22:18:09 +08:00
omg-xtao
9aaaec2d88
Add more starrail func 2023-06-09 22:55:51 +08:00
luoshuijs
40d55ea0ee
Add diary client 2023-06-09 11:48:56 +08:00
洛水居室
39082b4bcd
Update skip reason in client fixture 2023-05-12 11:57:15 +08:00
洛水居室
5f5ce47a8e
Add recognizes the region of a genshin player ID for a game biz 2023-05-12 11:45:03 +08:00
洛水居室
f61f2951a5
Add player ID check to client fixtures
In various client fixtures, a player ID check has been added to ensure that the player ID parameter is not None before creating the client object. This check helps to handle scenarios where the player ID is not provided, preventing potential errors or undesired behavior.
2023-05-12 11:36:03 +08:00
洛水居室
834ce9b8ff
Add region-related code to unit tests 2023-05-12 11:01:53 +08:00
洛水居室
a1b78dcb14
Add get the genshin accounts 2023-05-11 17:35:24 +08:00
洛水居室
859c21c4f5
Update tests 2023-05-11 16:39:04 +08:00
洛水居室
009f74839f
Add support for TEST_BUILD environment variable
In the `test_build` function, added support for the TEST_BUILD environment variable. Now, if the variable is set to True, the `test_build` function will run; otherwise, it will skip the test and output a related message. Additionally, introduced a new pytest fixture `if_test_build` to check if the test is enabled.
2023-05-09 16:20:56 +08:00
洛水居室
912a41fe45
Refactor auth client and add test 2023-05-09 16:06:32 +08:00
洛水居室
b74b9aef33
Refactor BaseClient class and add cookie property accessor
Added a `cookies` property accessor to the `BaseClient` class, which retrieves cookies from the `httpx` AsyncClient object and returns a `simnet.client.cookies.Cookies` object (which is a custom implementation of the `httpx.Cookies` class). Additionally, the initialization function was refactored to better support using cookies. Now, if `account_id` is not passed in, it will be retrieved from the cookies.
2023-05-09 15:19:36 +08:00
洛水居室
c2f562884e
Add Calculator Client 2023-05-09 11:50:01 +08:00
洛水居室
fcc1f2489b
Add setup 2023-05-08 11:37:45 +08:00
洛水居室
5f5c222f17
Add Lab Client 2023-05-08 10:00:01 +08:00
洛水居室
2a86d10640
Update test
- Test multiple clients
- Load testing configuration file using load_dotenv
- Add `requirements.dev.txt` file
2023-05-08 09:21:32 +08:00
洛水居室
cd97a751b9
Add Star Rail Client 2023-05-02 01:02:53 +08:00