Changeset - fec20b53b9ff
0
1
1
GC-22: Refactored server command tests for testing output on success:
- Introduced custom pytest fixture that sets-up a small Gimmecert
project.
- Introduced custom pytest fixture that sets-up private key with CSR.
- Replaced all server command tests that check the resulting output
with a parametrised test. One test should actually fail, but this is
a bug in implementation. Will fix in subsequent commit.
- Introduced separate tests that ensure the server private key or CSR
do no get overwritten in case DNS name update is requested.
- Introduced custom pytest fixture that sets-up a small Gimmecert
project.
- Introduced custom pytest fixture that sets-up private key with CSR.
- Replaced all server command tests that check the resulting output
with a parametrised test. One test should actually fail, but this is
a bug in implementation. Will fix in subsequent commit.
- Introduced separate tests that ensure the server private key or CSR
do no get overwritten in case DNS name update is requested.
2 files changed with 256 insertions and 101 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)