summaryrefslogtreecommitdiff
path: root/test/test_config.py
Commit message (Collapse)AuthorAgeFilesLines
* Add test asserting that get_values works by itselfCody Martin2023-02-151-0/+11
| | | | | | | | | | | As described in #1534, this test will fail in main with a KeyError about a missing section name even though the named sections do exist within the config file. This test will pass in the branch associated with #1535. This test should keep the improved behavior healthy as the code evolves by preventing future developers from removing the eager loading of sections within get_values().
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-181-27/+9
|
* Run everything through 'black'Sebastian Thiel2022-05-181-122/+167
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* Fix various typosluz paz2022-05-071-1/+1
| | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
* Ensure that detached HEAD does not raise when comparing branch name.Jeremy Retailleau2020-09-031-0/+17
|
* Add missing rules to match hierarchy pathJeremy Retailleau2020-09-021-0/+8
|
* Add unit testsJeremy Retailleau2020-09-021-0/+99
|
* tests: move to root dirKonrad Weihmann2020-07-121-0/+373
| | | | | | | | | This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
* Revert moving tests out of 'git' folder, related to #1030Sebastian Thiel2020-07-121-373/+0
|
* tests: move to root dirKonrad Weihmann2020-07-121-0/+373
| | | | | | | | | This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-102/+0
| | | | adjusted
* Updated MANIFEST and setup to include fixtures. Adjusted includes in all ↵Sebastian Thiel2010-11-211-1/+1
| | | | tests to work with the new directory structure
* flattened test folder structure, didn't adjust any file content yetSebastian Thiel2010-11-211-0/+102