Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-29 | Replace list with a tuple as an argument when setting success_codes | BonfaceKilz | |
* gn3/commands.py (run_cmd): Replace type of success_codes from List to Tuple * gn3/computations/diff.py (generate_diff): Pass success_codes as a Tuple when calling "run_cmd". | |||
2021-06-29 | gn3: diff: Set success_codes when running the diff tool | BonfaceKilz | |
2021-06-29 | Add a diffing function | BonfaceKilz | |
For now the diff function uses the Linux tool "diff" to generate the diff since it is efficient and straightforward. * gn3/computations/diff.py (generate_diff): New function. * tests/unit/computations/test_diff.py: Test cases for ☝🏾. |