nix-direnv/tests
ryneeverett 5c65694ea8 test.py: isolate assertions; DRY data generation
The majority of the test code is just creating the stdout data against
which to make assertions. Increasing the test cases will be more
manageable if the assertions are separate from this data generation.

It is also a generally preferred style to have one assertion per test,
because this way all assertions run even if others fail and each test
only fails for one reason. It also facilitates better test documentation
and adding additional tests without increasing complexity.
2021-06-11 15:13:57 -04:00
..
testenv flakes: Don't run shellHook on cached dev shells 2021-06-08 20:51:07 -04:00
test.py test.py: isolate assertions; DRY data generation 2021-06-11 15:13:57 -04:00