Flake8 issues in last test.
Raise ImproperlyConfigured if there's no key