HPI/tests
Sean Breckenridge 349ab78fca
core/cli: switch to using click library #155
everything is backwards-compatible with the previous
interface, the only minor changes were to the doctor cmd
which can now accept more than one item to run,
and the --skip-config-check to skip the config_ok
check if the user specifies to

added a test using click.testing.CliRunner (tests
the CLI in an isolated environment), though
additional tests which aren't testing the CLI
itself (parsing arguments or decorator behaviour)
can just call the functions themselves, as they
no longer accept a argparser.Namespace and instead
accept the direct arguments
2021-04-04 10:06:59 +01:00
..
core core.pandas: allow specifying schema; add tests 2021-02-15 00:15:44 +00:00
extra polar: support configuring defensive behaviour, support for highlight tags 2020-05-15 12:40:15 +01:00
__init__.py Add tests for pdfs 2020-08-16 13:36:36 -07:00
bluemaestro.py my.pdfs: reorganize tests a bit, fix mypy 2021-04-01 17:27:06 +01:00
calendar.py my.calendar.holidays: unhardcode calendar, detect it from the location data 2020-10-09 23:22:00 +02:00
cli.py core: add more tests for stat/datetime guessing 2021-02-14 16:20:38 +00:00
commits.py my.coding.commits: actually test on CI, add config stub 2021-03-15 10:33:46 +00:00
common.py my.pdfs: reorganize tests a bit, fix mypy 2021-04-01 17:27:06 +01:00
config.py core: deprecate my.cfg, instead my.config can (and should be) used directly 2021-02-19 02:39:25 +00:00
conftest.py reflect cachew changes of exception handling and temporary suppression 2020-10-08 21:22:02 +02:00
core.py core/cli: switch to using click library #155 2021-04-04 10:06:59 +01:00
demo.py fix spelling mistakes 2020-09-06 20:44:28 +01:00
emfit.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
foursquare.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
get_files.py core/windows: fix get_files and its tests 2021-02-16 06:40:42 +00:00
github.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
goodreads.py my.goodreads: cleanup, rename from my.reading.goodrads & use proper pip dependency 2021-03-26 05:06:53 +00:00
hypothesis.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
instapaper.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
jawbone.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
lastfm.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
location.py my.pdfs: reorganize tests a bit, fix mypy 2021-04-01 17:27:06 +01:00
misc.py core/cachew: use cache_dir in mcachew if it wasn't specified by the user 2021-02-21 19:51:58 +00:00
orgmode.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
pdfs.py my.pdfs: cleanup/refactor 2021-04-01 17:27:06 +01:00
reddit.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
rtm.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
serialize.py my.core.serialize: orjson with additional default and _serialize hook (#140) 2021-03-20 00:48:03 +00:00
smscalls.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
takeout.py core/time: more flexible support for resolving TZ abbreviation -> TZ ambiguities 2021-03-08 00:40:19 +00:00
tweets.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00
tz.py CI: better cleanup for modules in between tests 2021-02-19 02:39:25 +00:00
youtube.py tests: run all tests, but exclude tests specific to my computer from CI 2021-02-14 17:47:18 +00:00