1
1
Fork 1

Add, commit, and push automatically. A commit message is generated based on the diff if not provided. An automatic scheduling for commits and push is possible.

chore: Refactor tests and add missing tests

This commit refactors tests in cli_test.py to use subprocess instead of os.system, adds missing tests for load, message, and undo in util_tests.py, and adds a test for file_exists in utils.py. This refactoring and addition of tests will ensure that the code is more robust and reliable.
title
JONATHAN ALEXANDER 11 months ago
parent 1455d17d73
commit a607ab7f89
3 changed files (2.0 KiB → 3.1 KiB)
  1. 58
      tests/cli_test.py
  2. 6
      tests/util_tests.py
  3. 13
      tests/utils.py

tests/cli_test.py (2.0 KiB → 2.4 KiB)

tests/util_tests.py (0 B → 208 B)

tests/utils.py (0 B → 423 B)

Loading…
Cancel
Save