diff --git a/search/__init__.py b/search/__init__.py index df6e4256..5460ff54 100644 --- a/search/__init__.py +++ b/search/__init__.py @@ -20,5 +20,8 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +"""search +The app in charge of evrything related to the search function +""" from .acl import * diff --git a/search/acl.py b/search/acl.py index f2b289bf..7ae541f8 100644 --- a/search/acl.py +++ b/search/acl.py @@ -27,7 +27,7 @@ Here are defined some functions to check acl on the application. """ -def can_view(user): +def can_view(_user): """Check if an user can view the application. Args: diff --git a/search/tests.py b/search/tests.py index 21fa6d24..d15f1f07 100644 --- a/search/tests.py +++ b/search/tests.py @@ -19,7 +19,10 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +"""search.tests +The tests for the Search module. +""" -from django.test import TestCase +# from django.test import TestCase # Create your tests here.