fix tests for the fhir package
palazzem opened this issue · 2 comments
this is the current stacktrace:
======================================================================
FAIL: test_create_fhir (apps.fhir.server.tests.test_create_view.FHIR_Create_TestCase)
test_fhir_create
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/palazzem/workspaces/videntity/hhs_oauth_server/apps/fhir/server/tests/test_create_view.py", line 83, in test_create_fhir
self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201
======================================================================
FAIL: test_unauth_interaction_fhir (apps.fhir.server.tests.test_resource_and_interaction_support.FHIR_CheckUnAuthInteraction_TestCase)
test_fhir_create
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/palazzem/workspaces/videntity/hhs_oauth_server/apps/fhir/server/tests/test_resource_and_interaction_support.py", line 53, in test_unauth_interaction_fhir
self.assertEqual(response.status_code, 403)
AssertionError: 200 != 403
They should be fixed after the settings refactoring; in the meantime I'll flag them as a "failing tests" so that the CI accepts their failures.
We may discuss about these tests later after the next PR.
Thank you. We will be taking a close look at the FHIR pieces over the next few weeks. Thanks for identifying.
-Alan
On Jun 17, 2016, at 11:50 AM, Emanuele Palazzetti notifications@github.com wrote:
this is the current stacktrace:
FAIL: test_create_fhir (apps.fhir.server.tests.test_create_view.FHIR_Create_TestCase)
test_fhir_create
Traceback (most recent call last):
File "/home/palazzem/workspaces/videntity/hhs_oauth_server/apps/fhir/server/tests/test_create_view.py", line 83, in test_create_fhir
self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201FAIL: test_unauth_interaction_fhir (apps.fhir.server.tests.test_resource_and_interaction_support.FHIR_CheckUnAuthInteraction_TestCase)
test_fhir_create
Traceback (most recent call last):
File "/home/palazzem/workspaces/videntity/hhs_oauth_server/apps/fhir/server/tests/test_resource_and_interaction_support.py", line 53, in test_unauth_interaction_fhir
self.assertEqual(response.status_code, 403)
AssertionError: 200 != 403
They should be fixed after the settings refactoring; in the meantime I'll flag them as a "failing tests" so that the CI accepts their failures.We may discuss about these tests later after the next PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/TransparentHealth/hhs_oauth_server/issues/36, or mute the thread https://github.com/notifications/unsubscribe/AADvofh5tSXftbxEjZr8NqwAcTN3gmUlks5qMsJBgaJpZM4I4fXj.
This is still a work in progress.