Completely test the OAuth module and streams/core.py file. Add pytest-mock as well as a convenience wrapper to run the type checker and the test together when developing. Also configure pytest to pick up loggers at the INFO level and above, and pick up standard out for easier debugging. Some of the script bits are unpolished - will improve them as we go along.
6 lines
164 B
INI
6 lines
164 B
INI
[pytest]
|
|
log_cli = 1
|
|
log_cli_level = INFO
|
|
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
|
|
log_cli_date_format=%Y-%m-%d %H:%M:%S
|