4 Commits

Author SHA1 Message Date
Sigurd Spieckermann
ef5ea4b212 refactor: rename internal modules with a _ prefix 2025-04-22 13:52:51 +02:00
Sigurd Spieckermann
5029b6e7a9
test: add type hints and clean up (#985)
* refactor(tests): add type hints and clean up

* fix: import `Protocol` from `typing-extensions` when using Python 3.7

* fix: import `Literal` from `typing-extensions` when using Python 3.7

* refactor(tests): create template and subproject directory using `tmp_path_factory` fixture

* refactor(tests): use OS-agnostic file path separator

* refactor(tests): use `/` separator for `skip_if_exists` paths

* style: fix formatting error

* refactor(tests): expect POSIX path for local repo URL
2023-03-21 16:31:11 +00:00
Kian-Meng Ang
4684c78b5b Fix typos 2022-05-03 11:54:59 +08:00
Jacob Straszynski
600ebdb492
feat: raise CopierAnswersInterrupt on partial answers (#476)
* includes a unit-y test in it's own file, tests/test_interrupts.
* includes an integration test that verifies that we don't dump
  a stacktrace. E.g. this test will fail if CopierAnswersInterrupt no
  longer subclasses KeyboardInterrupt.
* update changelog with CopierAnswersInterrupt
2021-11-15 13:29:57 +00:00