Switch the data directory lookup to use settings.SITE_DATA_DIR.
Review Request #13300 — Created Oct. 2, 2023 and submitted — Latest diff uploaded
The new
get_data_dir()
was returning$HOME
, but we actaully already
had a better source for this. It now returnssettings.SITE_DATA_DIR
,
and also handles the case where this value changes, which can occur
during unit tests.This fixes unit test failures with
CertificateManager
.
Unit tests pass.