Skip to content

Commit

Permalink
[#1659] rename FunctionalTestBaseClass to FunctionalTestBase
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jun 11, 2014
1 parent f597c8f commit ec91d18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckan/new_tests/controllers/test_package.py
Expand Up @@ -8,7 +8,7 @@
webtest_submit = helpers.webtest_submit


class TestPackageController(helpers.FunctionalTestBaseClass):
class TestPackageController(helpers.FunctionalTestBase):
def test_create_form_renders(self):
user = factories.Sysadmin()
env = {'REMOTE_USER': user['name'].encode('ascii')}
Expand Down
2 changes: 1 addition & 1 deletion ckan/new_tests/controllers/test_util.py
Expand Up @@ -7,7 +7,7 @@
import ckan.new_tests.helpers as helpers


class TestUtil(helpers.FunctionalTestBaseClass):
class TestUtil(helpers.FunctionalTestBase):
def test_redirect_ok(self):
response = self.app.get(
url=url_for(controller='util', action='redirect'),
Expand Down
2 changes: 1 addition & 1 deletion ckan/new_tests/helpers.py
Expand Up @@ -141,7 +141,7 @@ def _get_test_app():
return app


class FunctionalTestBaseClass():
class FunctionalTestBase():
'''A base class for functional test classes to inherit from.
Allows configuration changes by overriding _apply_config_changes and
Expand Down

0 comments on commit ec91d18

Please sign in to comment.