Closed JuroOravec closed 3 weeks ago
dedent()
assertHTMLEqual
setUpClass
autodiscover
tests/
Closes https://github.com/EmilStenstrom/django-components/issues/436
dedent()
in test assertions that usedassertHTMLEqual
setUpClass
method), and the component registry is cleared between tests.autodiscover
function to accept an optional mapping function for the import paths. This was needed because in tests, the components dir is not at the top-level, but undertests/
.Closes https://github.com/EmilStenstrom/django-components/issues/436