Page MenuHomeDevCentral
Paste P393

Test run in Docker container for operations
ActivePublic

Authored by dereckson on Sun, Mar 22, 09:07.
$ make test
(cd _tests && make)
make[1]: Entering directory '/home/app/operations/_tests'
PYTHONPATH="/home/app/operations/_tests:/home/app/operations/_tests/../_modules" python -m unittest discover modules
....................................................
----------------------------------------------------------------------
Ran 52 tests in 0.260s
OK
PYTHONPATH="/home/app/operations/_tests" python -m unittest discover pillar
....
----------------------------------------------------------------------
Ran 4 tests in 0.155s
OK
PYTHONPATH="/home/app/operations/_tests" python -m unittest discover scripts/python
.......
----------------------------------------------------------------------
Ran 7 tests in 0.001s
OK
roles/python/dns/run_test_dns_zones.sh
...
----------------------------------------------------------------------
Ran 3 tests in 0.037s
OK
bats scripts/bats/test_edit_acme_dns_accounts.sh
test_edit_acme_dns_accounts.sh
✓ exit with error code if no arg provided
✓ exit with error code if command doesn't exist
✓ exit with error code if no enough arg
✓ can't import a file into itself
✓ can merge correctly two credentials files
5 tests, 0 failures
make[1]: Leaving directory '/home/app/operations/_tests'