diff options
| author | 2019-12-11 12:44:12 -0800 | |
|---|---|---|
| committer | 2019-12-11 12:44:12 -0800 | |
| commit | ddfbfe31b2c2d9e5bc5d46ab9ffffa5b35a63e5f (patch) | |
| tree | 6ed2f30b24c225f4d98521bea0f74c361a14baef /tests/helpers.py | |
| parent | Reddit: move token renewal inside fetch_posts (diff) | |
Reddit: move BasicAuth instantiation to __init__
The object is basically just a namedtuple so there's no need to
re-create it every time a token is obtained.
* Remove log message which shows credentials.
* Initialise headers attribute to None in __init__.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions