123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import unittest
- import subprocess
- class TestPylint(unittest.TestCase):
- def test_project_errors_only(self):
- '''run pylint in error only mode
-
- your code may well work even with pylint errors
- but have some unusual code'''
- return_code = subprocess.call(["pylint", '-E', 'organiccode'])
-
-
-
-
-
-
-
-
- if __name__ == '__main__':
- 'you will get better results with nosetests'
- unittest.main()
|