Browse Source

Pylint compliance on search

paginateur
Maël Kervella 8 years ago
parent
commit
595c6b99fa
  1. 3
      search/__init__.py
  2. 2
      search/acl.py
  3. 5
      search/tests.py

3
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 *

2
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:

5
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.

Loading…
Cancel
Save