FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
Refactor and overhaul the test suite by harshil21 · Pull Request #3426 · python-telegram-bot/python-telegram-bot · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-telegram-bot
/
python-telegram-bot
Public
Notifications
You must be signed in to change notification settings
Fork
6.1k
Star
29.4k
Code
Issues
25
Pull requests
16
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Refactor and overhaul the test suite
- #3426
#3426
Merged
Bibo-Joshi
merged 83 commits into
master
python-telegram-bot/python-telegram-bot:master
from
refactor-tests
python-telegram-bot/python-telegram-bot:refactor-tests
Copy head branch name to clipboard
Feb 11, 2023
Conversation
Commits
83
(83)
Checks
Files changed
Merged
Refactor and overhaul the test suite
#3426
Bibo-Joshi
merged 83 commits into
master
python-telegram-bot/python-telegram-bot:master
from
refactor-tests
python-telegram-bot/python-telegram-bot:refactor-tests
Copy head branch name to clipboard
Commits
Commits on Dec 15, 2022
Split tests based on whether they make a request
Show description for fc5aea4
harshil21
committed
fc5aea4
View commit details
Copy full SHA for fc5aea4
Browse repository at this point
Override get_me in tests to return cached User() object
Show description for 77ecda1
harshil21
committed
77ecda1
View commit details
Copy full SHA for 77ecda1
Browse repository at this point
move testing of initialization of bot to Req part
harshil21
committed
f1207dc
View commit details
Copy full SHA for f1207dc
Browse repository at this point
use TEST_WITH_OPT_DEPS to justify removing TestBot.localize
harshil21
committed
4fe9955
View commit details
Copy full SHA for 4fe9955
Browse repository at this point
import `TEST_WITH_OPT_DEPS` from conftest instead of redefining every time
harshil21
committed
c67f100
View commit details
Copy full SHA for c67f100
Browse repository at this point
use context manager for data_file in fixtures
Show description for 7b412cf
harshil21
committed
7b412cf
View commit details
Copy full SHA for 7b412cf
Browse repository at this point
rearrange the order of one test method (so tests pass)
harshil21
committed
8725e4b
View commit details
Copy full SHA for 8725e4b
Browse repository at this point
Optimize `TestApplication` significantly by making small changes
Show description for 0920f95
harshil21
committed
0920f95
View commit details
Copy full SHA for 0920f95
Browse repository at this point
remove pytest.mark.timeout from requirements
Show description for 256758d
harshil21
committed
256758d
View commit details
Copy full SHA for 256758d
Browse repository at this point
Commits on Dec 17, 2022
Fix: 2 app & job tests were not a coroutine function
harshil21
committed
e2cc536
View commit details
Copy full SHA for e2cc536
Browse repository at this point
don't close event loop after session end
Show description for 0a7d03b
harshil21
committed
0a7d03b
View commit details
Copy full SHA for 0a7d03b
Browse repository at this point
use DictExtBot in more places, where appropriate.
harshil21
committed
40ad364
View commit details
Copy full SHA for 40ad364
Browse repository at this point
rearrange test methods in TestBot again
Show description for fb550d1
harshil21
committed
fb550d1
View commit details
Copy full SHA for fb550d1
Browse repository at this point
Don't rerun tests if they have xfailed
harshil21
committed
58aaf04
View commit details
Copy full SHA for 58aaf04
Browse repository at this point
Make the bot_methods decorator not return camelCase names by default
harshil21
committed
b46a4bb
View commit details
Copy full SHA for b46a4bb
Browse repository at this point
small optimization: Make test_coroutine_functions use inspect.iscoroutinefunction
Show description for dea47cf
harshil21
committed
dea47cf
View commit details
Copy full SHA for dea47cf
Browse repository at this point
Feat: Make some tests run concurrently via asyncio.gather/as_completed/create_task
Show description for 857949a
harshil21
committed
857949a
View commit details
Copy full SHA for 857949a
Browse repository at this point
Fix/Refactor: Move test_custom_emoji_sticker to TestStickerReq
harshil21
committed
6f40363
View commit details
Copy full SHA for 6f40363
Browse repository at this point
Miscellaneous fixes
Show description for e90f0a0
harshil21
committed
e90f0a0
View commit details
Copy full SHA for e90f0a0
Browse repository at this point
small refactor: delete a duplicate test, split one test
harshil21
committed
b330c97
View commit details
Copy full SHA for b330c97
Browse repository at this point
refactor and rearrange: remove bot.delete_webhook() from arbitrary callback tests
Show description for 738fd44
harshil21
committed
738fd44
View commit details
Copy full SHA for 738fd44
Browse repository at this point
rearrange tests
Show description for 77b8438
harshil21
committed
77b8438
View commit details
Copy full SHA for 77b8438
Browse repository at this point
Adding two missing slot_behaviour tests in test_sticker.py
Show description for 664c103
harshil21
committed
664c103
View commit details
Copy full SHA for 664c103
Browse repository at this point
small refactor: use a for loop, fixture, and add another assert
harshil21
committed
b2e292e
View commit details
Copy full SHA for b2e292e
Browse repository at this point
delete TestUserNoReq::test_de_json_without_username
Show description for cc1e45e
harshil21
committed
cc1e45e
View commit details
Copy full SHA for cc1e45e
Browse repository at this point
Add a README for tests and add some comments to requirements-dev.txt
harshil21
committed
6ea3515
View commit details
Copy full SHA for 6ea3515
Browse repository at this point
hopefully fix tests on GH CI
Show description for 4b55ee5
harshil21
committed
4b55ee5
View commit details
Copy full SHA for 4b55ee5
Browse repository at this point
Hopefully fix tests on py3.10+
Show description for b3e9e8d
harshil21
committed
b3e9e8d
View commit details
Copy full SHA for b3e9e8d
Browse repository at this point
Hotfix to make the tests run
Show description for 4ea871e
harshil21
committed
4ea871e
View commit details
Copy full SHA for 4ea871e
Browse repository at this point
add a flaky marker to test_signal_handler
harshil21
committed
4f69b52
View commit details
Copy full SHA for 4f69b52
Browse repository at this point
Commits on Dec 18, 2022
Update keys for bot data
Bibo-Joshi
committed
c8fab41
View commit details
Copy full SHA for c8fab41
Browse repository at this point
remove env var fetching of bots
harshil21
committed
8fa504f
View commit details
Copy full SHA for 8fa504f
Browse repository at this point
Commits on Dec 19, 2022
Experiment: Try making Job Queue tests more stable
harshil21
committed
7f5996e
View commit details
Copy full SHA for 7f5996e
Browse repository at this point
Commits on Dec 20, 2022
Experiment 1 cont: Attempt to stablize job queue tests on macos
harshil21
committed
1baebf2
View commit details
Copy full SHA for 1baebf2
Browse repository at this point
Experiment 1 cont: stablilize another test on macos
harshil21
committed
a608e48
View commit details
Copy full SHA for a608e48
Browse repository at this point
Experiment 1 end: use asyncio.wait_for so tests cannot hang
harshil21
committed
67b2ba2
View commit details
Copy full SHA for 67b2ba2
Browse repository at this point
Experiment 2: Make GH CI use 10 workers with loadgroup
harshil21
committed
5c778d1
View commit details
Copy full SHA for 5c778d1
Browse repository at this point
Commits on Jan 3, 2023
merge master and fix conflicts
harshil21
committed
b5c5d16
View commit details
Copy full SHA for b5c5d16
Browse repository at this point
mark job queue tests as flaky
harshil21
committed
050f650
View commit details
Copy full SHA for 050f650
Browse repository at this point
attempt to fix potential race condition in test_passport.py
harshil21
committed
d7c09a1
View commit details
Copy full SHA for d7c09a1
Browse repository at this point
attempt to fix the error: 'free variable input_video referenced before assignment in enclosing scope
harshil21
committed
e37ab7e
View commit details
Copy full SHA for e37ab7e
Browse repository at this point
fix error while collecting tests in test_datetime.py
Show description for 3bdd981
harshil21
committed
3bdd981
View commit details
Copy full SHA for 3bdd981
Browse repository at this point
why tests no run?
harshil21
committed
402aa03
View commit details
Copy full SHA for 402aa03
Browse repository at this point
change scope of real_topic back to function
harshil21
committed
024315b
View commit details
Copy full SHA for 024315b
Browse repository at this point
Experiment 2 end: Revert back to -n auto, but keep --dist=loadgroup
harshil21
committed
f3c671d
View commit details
Copy full SHA for f3c671d
Browse repository at this point
Experiment 3: Run tests of optional dependencies in one go
harshil21
committed
dc847df
View commit details
Copy full SHA for dc847df
Browse repository at this point
run getUpdates and webhook tests in same worker
harshil21
committed
744308d
View commit details
Copy full SHA for 744308d
Browse repository at this point
Experiment 3 cont: make the variable in a single line
harshil21
committed
72e0a6e
View commit details
Copy full SHA for 72e0a6e
Browse repository at this point
increase sleep duration in test_conversation_timout
harshil21
committed
ebad4e4
View commit details
Copy full SHA for ebad4e4
Browse repository at this point
Commits on Jan 4, 2023
merge master and fix conflict
harshil21
committed
a9dcdae
View commit details
Copy full SHA for a9dcdae
Browse repository at this point
fix potential race condition while unpinning message
harshil21
committed
2510df8
View commit details
Copy full SHA for 2510df8
Browse repository at this point
Commits on Jan 12, 2023
merge master and fix conflicts'
harshil21
committed
8c3296b
View commit details
Copy full SHA for 8c3296b
Browse repository at this point
make test_get_chat_arbitrary_callback_data use channel_id for testing
harshil21
committed
03501e4
View commit details
Copy full SHA for 03501e4
Browse repository at this point
Commits on Jan 13, 2023
Address review of fc5aea4: Use `TestXXXWith(out)Request`
Show description for 891ed29
harshil21
committed
891ed29
View commit details
Copy full SHA for 891ed29
Browse repository at this point
make tz_bot fixture use default_bots dictionary as cache instead
harshil21
committed
6aa539f
View commit details
Copy full SHA for 6aa539f
Browse repository at this point
Address review of fc5aea4: Change Space to suggested name instead
harshil21
committed
0588363
View commit details
Copy full SHA for 0588363
Browse repository at this point
Address review of fc5aea4: Add docstring to TestBotWithoutRequest
harshil21
committed
e079c6b
View commit details
Copy full SHA for e079c6b
Browse repository at this point
Address review of 77ecda1: Changes in test_bot.py and conftest.py
harshil21
committed
53031be
View commit details
Copy full SHA for 53031be
Browse repository at this point
Address review of 4fe9955: Change skipif reason
harshil21
committed
2596d4c
View commit details
Copy full SHA for 2596d4c
Browse repository at this point
Address review of 0920f95: Rename the bot used in app tests
harshil21
committed
ab3be7e
View commit details
Copy full SHA for ab3be7e
Browse repository at this point
fix some typos and tiny bugs in test_app.py
harshil21
committed
ebecf27
View commit details
Copy full SHA for ebecf27
Browse repository at this point
Address review of 857949a: slightly modify test logic
harshil21
committed
e60d2e1
View commit details
Copy full SHA for e60d2e1
Browse repository at this point
Address review of b330c97: change variable name i -> key
harshil21
committed
01c8b5c
View commit details
Copy full SHA for 01c8b5c
Browse repository at this point
Address review of 6ea3515: Update test readme and add to index.html
harshil21
committed
6a9bbc0
View commit details
Copy full SHA for 6a9bbc0
Browse repository at this point
Address review of 4b55ee5: Drop testing of file_id with get_file
harshil21
committed
119858d
View commit details
Copy full SHA for 119858d
Browse repository at this point
Address review of 4ea871e: put variable in class instead of global
harshil21
committed
a9ce337
View commit details
Copy full SHA for a9ce337
Browse repository at this point
Address review of 4f69b52: Modify comment in test_signal_handlers
harshil21
committed
7d64045
View commit details
Copy full SHA for 7d64045
Browse repository at this point
Commits on Feb 5, 2023
merge master and fix conflicts
harshil21
committed
f65efd6
View commit details
Copy full SHA for f65efd6
Browse repository at this point
add CSI comment about shutting down bots
harshil21
committed
6acd324
View commit details
Copy full SHA for 6acd324
Browse repository at this point
add back test_flag as autouse function
harshil21
committed
ac14ae1
View commit details
Copy full SHA for ac14ae1
Browse repository at this point
add except TelegramError to an app test
harshil21
committed
eb8de60
View commit details
Copy full SHA for eb8de60
Browse repository at this point
fix link in contributing.rst
harshil21
committed
5d6a0c7
View commit details
Copy full SHA for 5d6a0c7
Browse repository at this point
expand comment in test.yml
harshil21
committed
2587d97
View commit details
Copy full SHA for 2587d97
Browse repository at this point
move contributing and testing below coc
harshil21
committed
3da231f
View commit details
Copy full SHA for 3da231f
Browse repository at this point
make BotInfo a proper class
harshil21
committed
7a79ae4
View commit details
Copy full SHA for 7a79ae4
Browse repository at this point
self -> bot
harshil21
committed
ac401b2
View commit details
Copy full SHA for ac401b2
Browse repository at this point
move one_time_bot from application.py to conftest
harshil21
committed
e6eec74
View commit details
Copy full SHA for e6eec74
Browse repository at this point
add CSI comment about datetime test parametrization
harshil21
committed
38ca987
View commit details
Copy full SHA for 38ca987
Browse repository at this point
revert Experiment 1
harshil21
committed
5b45a02
View commit details
Copy full SHA for 5b45a02
Browse repository at this point
add csi comment in get_bot_user
harshil21
committed
a3c4b03
View commit details
Copy full SHA for a3c4b03
Browse repository at this point
Commits on Feb 8, 2023
Revert Experiment 2: tests are a bit too flaky
Show description for 4d29721
harshil21
committed
4d29721
View commit details
Copy full SHA for 4d29721
Browse repository at this point
merge master, fix conflicts and apply new changes
Show description for 018d82b
harshil21
committed
018d82b
View commit details
Copy full SHA for 018d82b
Browse repository at this point
Commits on Feb 10, 2023
merge master and fix conflict yet again
harshil21
committed
45a092a
View commit details
Copy full SHA for 45a092a
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL