We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e0fbb commit 0643f3cCopy full SHA for 0643f3c
1 file changed
ietf/utils/tests.py
@@ -0,0 +1,17 @@
1
+from __future__ import print_function
2
+
3
+import os.path
4
5
+from django.conf import settings
6
7
+from ietf.utils.management.commands import pyflakes
8
+from ietf.utils.test_utils import TestCase
9
10
11
+class PyFlakesTestCase(TestCase):
12
13
+ def test_pyflakes(self):
14
+ path = os.path.join(settings.BASE_DIR)
15
+ warnings = []
16
+ warnings = pyflakes.checkPaths([path], verbosity=0)
17
+ self.assertEqual([str(w) for w in warnings], [])
0 commit comments