Skip to content

Commit

Permalink
[#1659] import coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jun 5, 2014
1 parent 529e2d9 commit 4565b25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ckan/new_tests/controllers/test_package.py
Expand Up @@ -2,13 +2,13 @@

from routes import url_for

from ckan.new_tests.controllers import WsgiAppCase
from ckan.new_tests.factories import Sysadmin
import ckan.new_tests.controllers as controllers
import ckan.new_tests.factories as factories


class TestPackageController(WsgiAppCase):
class TestPackageController(controllers.WsgiAppCase):
def test_create_form_renders(self):
user = Sysadmin()
user = factories.Sysadmin()
extra_environ = {
'REMOTE_USER': user['name'].encode('ascii'),
}
Expand Down
4 changes: 2 additions & 2 deletions ckan/new_tests/controllers/test_util.py
Expand Up @@ -4,10 +4,10 @@

from routes import url_for as url_for

from ckan.new_tests.controllers import WsgiAppCase
import ckan.new_tests.controllers as controllers


class TestUtil(WsgiAppCase):
class TestUtil(controllers.WsgiAppCase):
def test_redirect_ok(self):
response = self.app.get(
url=url_for(controller='util', action='redirect'),
Expand Down

0 comments on commit 4565b25

Please sign in to comment.