@@ -0,0 +1,451 @@
+# -*- coding: utf-8 -*-%0A%0Aimport pytest%0A%0Afrom cookiecutter.environment import StrictEnvironment%0Afrom cookiecutter.exceptions import UnknownExtension%0A%0A%0Adef test_env_should_raise_for_unknown_extension():%0A    context = %7B%0A        '_extensions': %5B'foobar'%5D%0A    %7D%0A%0A    with pytest.raises(UnknownExtension) as err:%0A        StrictEnvironment(context, keep_trailing_newline=True)%0A%0A    assert 'Unable to load extension: No module named foobar' in str(err.value)%0A

Implement a basic test for StrictEnvironment