misc: make mocked AppSetting be returned as object instead of class
This commit is contained in:
parent
c23f4a3b5e
commit
6b6053cce5
|
@ -32,7 +32,7 @@ MOCKED_RESPONSES_LIST = [
|
|||
@mock.patch('mandayejs.applications.views.requests.Session.post')
|
||||
@mock.patch('mandayejs.applications.get_app_settings')
|
||||
def test_archimed_ws(mocked_get_app_settings, mocked_requests_post):
|
||||
mocked_get_app_settings.return_value = Archimed
|
||||
mocked_get_app_settings.return_value = Archimed()
|
||||
mocked_requests_post.side_effect = MOCKED_RESPONSES_LIST
|
||||
|
||||
user_uuid = uuid.uuid4().hex
|
||||
|
|
Reference in New Issue