Replace deprecated assertEquals with assertEqual.
Close file when reading SECRET_KEY in settings.
tests: replace deprecated nose by default runner
Use xmlrunner to generate JUnit reports in CI.
Rename test_scionlab-config to test_scionlab_config, as its not discovered otherwise. Also silence some logging.
Exlicitly serialize some VPN tests to allow --parallel
Avoid copying dev VPN CA to run/
Refer to the checked-in dev VPN CA directly in the development configuration, instead of painstakingly copying it.
Historical background was that this file was not checked-in but generated using the initialize_root_ca command. Then it was later added to git to simplify the setup and make it easier to generate somewhat deterministic test certificates.
At that time, we used a nose mechanism, setup_package to copy the file to run/ before running the tests.
This doesn't work with django's default test runner. With hindsight, it really seems that the whole copying business was just unnecessarily complicated.
tests: fix various warnings
Replace deprecated assertEquals with assertEqual. Close file when reading SECRET_KEY in settings.
tests: replace deprecated nose by default runner
Use xmlrunner to generate JUnit reports in CI.
Rename test_scionlab-config to test_scionlab_config, as its not discovered otherwise. Also silence some logging.
Exlicitly serialize some VPN tests to allow --parallel
Avoid copying dev VPN CA to run/
Refer to the checked-in dev VPN CA directly in the development configuration, instead of painstakingly copying it.
Historical background was that this file was not checked-in but generated using the initialize_root_ca command. Then it was later added to git to simplify the setup and make it easier to generate somewhat deterministic test certificates. At that time, we used a nose mechanism,
setup_package
to copy the file to run/ before running the tests. This doesn't work with django's default test runner. With hindsight, it really seems that the whole copying business was just unnecessarily complicated.deps: bump django-extensions
Fixes some internal deprecation warning.
This change is