aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies and lintingEugene Triguba2025-08-162-16/+23
|
* Fix config file path subclasses in 3.13Eugene Triguba2025-08-162-8/+8
|
* Remove depreciated stringify() methodEugene Triguba2023-11-056-19/+7
|
* Fix GitHub Action Workflows and Add Support for Newer Python Versions (#29)Eugene Triguba2023-11-051-15/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use ubuntu 20 instead of latest * Add python 3.10, 3.11, and 3.12 * Update action versions and use poetry cache * Install poetry before using cache * Use matrix for different os versions * Fix mypy install failure * Fix pathlib subclassing and strtobool distutils deprecation * Pin poetry in CI to 1.7.0 * Remove 3.11 and 3.12 temporarily * Add 3.11 * Add coverage.xml to gitignore * Only run 3.11 temporarily * Temp test command change * Use cov report * Show files * Use newer pytest versions for newer python versions * Try using 3.12 * Tweak command * Test using coverage directly * Use poetry run * Fix typo * Add back other python versions * Remove test_ci task * Add changelog entry
* Move parsers to parsers directoryEugene Triguba2020-11-268-21/+19
|
* Fix issue #25 (INI parser isn't converting back to string)Eugene Triguba2020-10-033-12/+76
|
* Add docstrings to pytest fixturesEugene Triguba2020-10-031-0/+70
|
* Enforce `parsed_content` property in AbstractParserEugene Triguba2020-08-162-2/+5
| | | | | It is used in the ConfigFile object to be able to index into it.
* Add all_strings template filesEugene Triguba2020-08-076-55/+161
|
* Conform test abstract parser has syntaxEugene Triguba2020-08-071-1/+1
|
* Add invalid templatesEugene Triguba2020-08-073-0/+9
|
* Add docstrings to config file testEugene Triguba2020-08-071-19/+134
|
* Add ConfigFilePath testEugene Triguba2020-08-071-0/+112
|
* Add utils testsEugene Triguba2020-08-071-11/+55
|
* Remove ini and json parser testsEugene Triguba2020-08-062-206/+0
| | | | | They heavily overlap with the config_file test case now and are unnecessary.
* Add test for Default utilEugene Triguba2020-08-061-1/+11
|
* Change MissingKeyErrors to KeyErrorEugene Triguba2020-08-063-8/+7
|
* Test extras parsers & move imports inside those parsersEugene Triguba2020-08-062-0/+48
|
* Add docstrings to AbstractParser testsEugene Triguba2020-08-051-0/+18
|
* Fix `get_existent_keys` test with a IniParser checkEugene Triguba2020-08-051-15/+11
|
* Fix parse_value test docstring pathsEugene Triguba2020-08-051-14/+14
|
* Remove BaseParser testEugene Triguba2020-08-051-0/+0
| | | | | It is a big redundant. The ConfigFile is a superset of it, which should test everything in it.
* Fix AbstractParser imports for testsEugene Triguba2020-08-052-2/+3
|
* Remove custom parser testEugene Triguba2020-08-051-31/+0
|
* Add tests for abstract parserEugene Triguba2020-08-052-57/+50
|
* Fix test that was using `parser` optionEugene Triguba2020-08-051-4/+4
|
* Redo package to have a flat package structureEugene Triguba2020-08-056-702/+643
| | | | | | By having a flat package structure like this, it'll avoid exposing packages and things we don't want to be exposed.
* Add ConfigFilePath to refactor out file specific codeEugene Triguba2020-08-013-12/+8
|
* Expand on docstrings for parse_value fileEugene Triguba2020-08-011-0/+1
|
* Lint filesEugene Triguba2020-08-014-46/+41
|
* Add tests to parse_value and fix bugs in itEugene Triguba2020-08-011-14/+177
|
* Allow string lists and dicts to be auto parsedEugene Triguba2020-07-291-1/+4
|
* Fix tests for recent changesEugene Triguba2020-07-297-37/+56
|
* Add work in progress testsEugene Triguba2020-07-2013-211/+161
|
* Change name of BaseParser to AbstractParserEugene Triguba2020-07-193-12/+12
|
* Add nested-lookup to projectEugene Triguba2020-07-192-3/+3
| | | | | | | | russellballestrini is a python project in the public domain. Rather than installing it as a dependency, this adds it as part of the config-file package now, which allows more control.
* Add more info on installation with poetry and zshEugene Triguba2020-07-192-0/+1064
|
* Fix imports in tests/Eugene Triguba2020-07-115-5/+6
|
* WIP for refactoring testsEugene Triguba2020-06-218-227/+294
|
* Convert string to f-string in testEugene Triguba2020-06-201-1/+1
|
* Add more type hints to ConfigFile and lint all filesEugene Triguba2020-06-202-2/+2
|
* Change path, parser, and contents to be propertiesEugene Triguba2020-06-201-28/+17
| | | | Also, restore_original now raises a FileNotFoundError.
* Add python 3.5 support, ConfigFileError, and more type hintsEugene Triguba2020-06-203-12/+13
| | | | | Also, get_all, set_all, and delete_all in JsonParser have been renamed to just all.
* retrieve_all is now get_all and fixed bug with coerceing default returnEugene Triguba2020-03-291-2/+2
| | | | type
* Add default + return_type param to get(), turn off automatic parsingEugene Triguba2020-02-094-8/+33
|
* Allow a default value for the get() methodEugene Triguba2020-02-091-3/+14
|
* Add working JSON parserEugene Triguba2020-02-022-5/+102
|
* Add ability to parse values in list to native typesEugene Triguba2020-02-021-0/+4
|
* Finish get method for json parserEugene Triguba2020-02-022-28/+81
|
* Add nested_lookup, and get test working for json has() and stringify()Eugene Triguba2020-01-271-0/+6
| | | | | | nested_lookup is a dependency that will help working with XML, YAML, and JSON since we can search deeply nested structures easily with it.