aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-15Add string methods to the File classCody Logan
2023-11-15Revise import and docstringsCody Logan
2023-11-15Convert File.dest from a string to a Path (#14)Cody Logan
2023-11-15Merge pull request #13 from clpo13/testing-tmp-folderCody Logan
Change to temp directory when running tests
2023-11-15Add missing type annotationsCody Logan
2023-11-15Use monkeypatch.chdir instead of os.chdirCody Logan
2023-11-14Docstring type fixesCody Logan
2023-11-14Use fixtures to create test filesCody Logan
This reduces the number of temporary folders and files created during testing. Additionally, an actual JPEG is created for a couple tests instead of using random text for the contents.
2023-11-08Change to a temporary directory before running testsCody Logan
Some tests will throw errors if files or directories with certain names exist in the current working directory when pytest is run, such as Example.jpg.
2023-11-08Add and refine docstrings in src folderCody Logan
2023-11-08Refactor wikiget.cli testsCody Logan
2023-11-08Add and refine docstrings in tests folder.Cody Logan
2023-11-08Switch to pathlib for file processingCody Logan
2023-11-08Ensure downloaded file handler is always closedCody Logan
2023-11-08Add git-blame ignore file for Black style change revisionCody Logan
2023-11-08Conditionally import modules used for type checkingCody Logan
2023-11-08Revise type annotations per PEP 604Cody Logan
2023-11-08Move logger variable creation to after log configurationCody Logan
2023-11-07Improve logging optimizationCody Logan
Defer string formatting until needed by removing f-strings in log messages.
2023-11-07Use type checking block for importCody Logan
2023-11-07Use multiple context managers in a single with blockCody Logan
2023-11-07Simplify return logic of process_downloadCody Logan
2023-11-07Remove unnecessary pass and import statementsCody Logan
2023-11-07Fix some pytest style issuesCody Logan
2023-11-07Merge pull request #12 from clpo13/improve-testsCody Logan
Improve tests and test coverage
2023-11-07Add requests_mock to Actions configCody Logan
2023-11-07Test query_api when an APIError is raisedCody Logan
2023-11-07Emit a log message when authenticating with a private wikiCody Logan
2023-11-07Add tests for File equalityCody Logan
2023-11-07Reduce duplicated code in dl testsCody Logan
2023-11-07Full coverage on dl moduleCody Logan
2023-11-06Additional download tests using requests_mockCody Logan
2023-11-06Additional download testsCody Logan
2023-11-06Simplify mock usage in testsCody Logan
2023-11-06Be more consistent in use of mocking methodCody Logan
2023-11-06Test that prep_download returns the right File objectCody Logan
2023-11-06Add equality comparison for File objectsCody Logan
2023-11-06Add explanatory comment to query_api testCody Logan
2023-11-03Revise query_api test to use mock objectsCody Logan
2023-11-03Test for exceptions in connect_to_siteCody Logan
2023-11-03Move from unittest.mock to pytest's monkeypatch where feasibleCody Logan
2023-11-03Add some mypy configurationCody Logan
2023-11-01Rename some symbols and functions to better match their purposeCody Logan
2023-11-01Add tests for main program entry pointCody Logan
2023-11-01Condense parser construction logicCody Logan
2023-11-01Make process_download return an exit code instead of exiting directlyCody Logan
2023-11-01Merge pull request #11 from clpo13/add-testsCody Logan
Add and improve some tests
2023-11-01Merge branch 'master' into add-testsCody Logan
2023-11-01Add some explanatory comments to testsCody Logan
2023-11-01Test connect_to_site using mockingCody Logan