Esempio n. 1
0
 def test_return_package_loader(self):
     loader = _loader(False)
     assert loader.__class__.__name__ == "PackageLoader"
     assert loader.package_path == "templates"
Esempio n. 2
0
            def test_return_file_system_loader(self):
                loader = _loader(True)

                assert loader.__class__.__name__ == "FileSystemLoader"
                assert loader.searchpath == ["./"]