mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-17 04:39:55 +01:00
Ignore Message.default_quote in test_official (#1848)
This commit is contained in:
parent
b6f4783fd3
commit
2d3357bfeb
2 changed files with 3 additions and 1 deletions
2
.github/CONTRIBUTING.rst
vendored
2
.github/CONTRIBUTING.rst
vendored
|
@ -117,7 +117,7 @@ Here's how to make a one-off code change.
|
|||
|
||||
.. code-block::
|
||||
|
||||
$ export TEST_OFFICIAL=True
|
||||
$ export TEST_OFFICIAL=true
|
||||
|
||||
prior to running the tests.
|
||||
|
||||
|
|
|
@ -120,6 +120,8 @@ def check_object(h4):
|
|||
ignored |= {'credentials'}
|
||||
elif name == 'PassportElementError':
|
||||
ignored |= {'message', 'type', 'source'}
|
||||
elif name == 'Message':
|
||||
ignored |= {'default_quote'}
|
||||
|
||||
assert (sig.parameters.keys() ^ checked) - ignored == set()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue