Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 5f82d6db32e91b31d8648a57653483e0ef3f5cbb
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Mon Nov 12 11:30:18 2012 +0100
Disabling Error E1103 from pylint in the flask unit-tests
pylint seems to not be able to infer the output type from the flask test
client. This leads to a number of false-positive error in the pylint
output. With this commit we remove them.
---------------------------------------------------------------
fedocal/tests/test_flask.py | 1 +
fedocal/tests/test_flask_api.py | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fedocal/tests/test_flask.py b/fedocal/tests/test_flask.py
index 0d2e139..3d49716 100644
--- a/fedocal/tests/test_flask.py
+++ b/fedocal/tests/test_flask.py
@@ -44,6 +44,7 @@ import fedocal.fedocallib as fedocallib
from fedocal.tests import Modeltests, DB_PATH
+# pylint: disable=E1103
class Flasktests(Modeltests):
""" Flask application tests. """
diff --git a/fedocal/tests/test_flask_api.py b/fedocal/tests/test_flask_api.py
index 0f40c0a..6f43542 100644
--- a/fedocal/tests/test_flask_api.py
+++ b/fedocal/tests/test_flask_api.py
@@ -44,6 +44,7 @@ import fedocal.fedocallib as fedocallib
from fedocal.tests import Modeltests, DB_PATH, TODAY
+# pylint: disable=E1103
class FlaskApitests(Modeltests):
""" Flask application API tests. """