@@ -0,0 +1,384 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0Aimport logya.core%0Aimport logya.template%0A%0A%0AL = logya.core.Logya(dir_site='logya/sites/base/')%0AL.build()%0A%0A%0Adef test_get_docs():%0A    doc_count = len(L.doc_index)%0A    assert len(logya.template._get_docs(L)) == doc_count%0A    assert len(logya.template._get_docs(L, '')) == doc_count%0A    assert len(logya.template._get_docs(L, '/')) == doc_count

Add test_get_docs