Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Use new config patching in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Nov 21, 2013
1 parent 14ffc3c commit 4c46464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/base/tests/test_go_manage_applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def set_permissions(self, user, enabled, application):
})

def test_enable_permissions(self):
self.patch_settings(VUMI_INSTALLED_APPS={
self.patch_config(VUMI_INSTALLED_APPS={
'go.apps.test': {
'namespace': 'test',
'display_name': 'test'
Expand Down
2 changes: 1 addition & 1 deletion go/conversation/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def setUp(self):
super(BaseConversationViewTestCase, self).setUp()
self.monkey_patch(
go.base.utils, 'get_conversation_pkg', self._get_conversation_pkg)
self.patch_settings(VUMI_INSTALLED_APPS=DUMMY_CONVERSATION_SETTINGS)
self.patch_config(VUMI_INSTALLED_APPS=DUMMY_CONVERSATION_SETTINGS)
self.setup_api()
self.setup_user_api()
self.setup_client()
Expand Down

0 comments on commit 4c46464

Please sign in to comment.