Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 16, 2013
1 parent fc78682 commit 3d8f8a0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ckan/tests/test_coding_standards.py
Expand Up @@ -734,7 +734,7 @@ def show_passing(msg, errors):


class TestNastyString(object):

''' Look for a common coding problem in ckan '..%s..' % str(x) '''
fails = {}
passes = []
done = False
Expand Down Expand Up @@ -774,6 +774,7 @@ def test_bad(self):


class TestImportFromCkan(object):
''' Find files using from ckan import ... style imports '''

fails = {}
passes = []
Expand Down Expand Up @@ -812,6 +813,7 @@ def test_import_bad(self):


class TestImportStar(object):
''' Find files using from xxx import * '''

fails = {}
passes = []
Expand Down Expand Up @@ -851,6 +853,7 @@ def test_import_bad(self):


class TestPep8(object):
''' Check that .py files are pep8 compliant '''

fails = {}
passes = []
Expand Down Expand Up @@ -902,6 +905,10 @@ def find_pep8_errors(filename=None, lines=None):


class TestActionAuth(object):
''' These tests check the logic auth/action functions are compliant. The
main tests are that each action has a corresponding auth function and
that each auth function has an action. We check the function only
accepts (context, data_dict) as parameters. '''

done = False

Expand Down

0 comments on commit 3d8f8a0

Please sign in to comment.