Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AssertionError: 'Invalid name type' not found in '{"concept_class": ["Invalid concept class"]}'
- ======================================================================
- FAIL: test_same_source_validation_rule_for_different_source_versions_on_concept_edit (integration_tests.tests.all.ConceptCreateViewTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/all.py", line 646, in test_same_source_validation_rule_for_different_source_versions_on_concept_edit
- self.assertEquals(response.status_code, status.HTTP_400_BAD_REQUEST)
- AssertionError: 404 != 400
- ======================================================================
- FAIL: test_update_concept_without_fully_specified_name (integration_tests.tests.all.ConceptCreateViewTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/all.py", line 428, in test_update_concept_without_fully_specified_name
- self.assertEquals(responseUpdate.status_code, status.HTTP_400_BAD_REQUEST)
- AssertionError: 404 != 400
- ======================================================================
- FAIL: test_concept_id_should_allow_underscore_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_concept_validation.py", line 83, in test_concept_id_should_allow_underscore_positive
- self.assertEquals(response.status_code, status.HTTP_201_CREATED)
- AssertionError: 400 != 201
- ======================================================================
- FAIL: test_concept_should_have_exactly_one_preferred_name_per_locale_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_concept_validation.py", line 71, in test_concept_should_have_exactly_one_preferred_name_per_locale_positive
- self.assertEquals(response.status_code, status.HTTP_201_CREATED)
- AssertionError: 400 != 201
- ======================================================================
- FAIL: test_concepts_should_have_unique_fully_specified_name_per_locale_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_concept_validation.py", line 122, in test_concepts_should_have_unique_fully_specified_name_per_locale_positive
- self.assertEquals(response.status_code, status.HTTP_201_CREATED)
- AssertionError: 400 != 201
- ======================================================================
- FAIL: test_concepts_should_have_unique_fully_specified_name_per_source_locale_negative (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_concept_validation.py", line 165, in test_concepts_should_have_unique_fully_specified_name_per_source_locale_negative
- self.assertEquals(response.status_code, status.HTTP_201_CREATED)
- AssertionError: 400 != 201
- ======================================================================
- FAIL: test_name_should_be_unique_unless_short_term_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_concept_validation.py", line 256, in test_name_should_be_unique_unless_short_term_positive
- self.assertEquals(response.status_code, status.HTTP_201_CREATED)
- AssertionError: 400 != 201
- ======================================================================
- FAIL: test_create_mapping_duplicate_mapping_between_two_concepts (integration_tests.tests.openmrs_mapping_validation.OpenMRSMappingCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_mapping_validation.py", line 37, in test_create_mapping_duplicate_mapping_between_two_concepts
- self.assertEquals(response.data, {"errors": OPENMRS_SINGLE_MAPPING_BETWEEN_TWO_CONCEPTS})
- AssertionError: {'errors': u'from_concept_url : Concept matching query does not exist.'} != {'errors': 'There can be only one mapping between two concepts'}
- - {'errors': u'from_concept_url : Concept matching query does not exist.'}
- + {'errors': 'There can be only one mapping between two concepts'}
- ======================================================================
- FAIL: test_create_mapping_maptype_without_found_lookup (integration_tests.tests.openmrs_mapping_validation.OpenMRSMappingCreateTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/openmrs_mapping_validation.py", line 60, in test_create_mapping_maptype_without_found_lookup
- self.assertEquals(response.data, {'errors': 'map_type : ' + OPENMRS_INVALID_MAPTYPE})
- AssertionError: {'errors': u'from_concept_url : Concept matching query does not exist.'} != {'errors': 'map_type : Invalid mapping type'}
- - {'errors': u'from_concept_url : Concept matching query does not exist.'}
- + {'errors': 'map_type : Invalid mapping type'}
- ======================================================================
- FAIL: test_change_source_schema_should_fail_when_not_valid_against_open_mrs (integration_tests.tests.validation_on_source_schema_change.ValidationOnSourceSchemaTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/validation_on_source_schema_change.py", line 43, in test_change_source_schema_should_fail_when_not_valid_against_open_mrs
- message_with_name_details(OPENMRS_FULLY_SPECIFIED_NAME_UNIQUE_PER_SOURCE_LOCALE, non_unique_name)]}}])
- AssertionError: Element counts were not equal:
- Diff is 861 characters long. Set self.maxDiff to None to see it.
- ======================================================================
- FAIL: test_change_source_schema_should_fail_when_valid_against_open_mrs (integration_tests.tests.validation_on_source_schema_change.ValidationOnSourceSchemaTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/integration_tests/tests/validation_on_source_schema_change.py", line 61, in test_change_source_schema_should_fail_when_valid_against_open_mrs
- self.assertEqual(response.status_code, HTTP_200_OK)
- AssertionError: 400 != 200
- ----------------------------------------------------------------------
- Ran 141 tests in 503.443s
- FAILED (failures=19, errors=22, skipped=7)
- + docker-compose down -v
- The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string.
- The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string.
- The AWS_STORAGE_BUCKET_NAME variable is not set. Defaulting to a blank string.
- Stopping ocloarit_api_run_1 ...
- Stopping ocloarit_redis_1 ...
- Stopping ocloarit_mongo_1 ...
- Stopping ocloarit_solr_1 ...
- Stopping ocloarit_api_run_1 ... done
- Stopping ocloarit_redis_1 ... done
- Stopping ocloarit_solr_1 ... done
- Stopping ocloarit_mongo_1 ... done
- Removing ocloarit_api_run_1 ...
- Removing ocloarit_redis_1 ...
- Removing ocloarit_mongo_1 ...
- Removing ocloarit_solr_1 ...
- Removing ocloarit_solr_1 ... done
- Removing ocloarit_redis_1 ... done
- Removing ocloarit_api_run_1 ... done
- Removing ocloarit_mongo_1 ... done
- Removing network ocloarit_default
- Removing volume ocloarit_mongo_data
- Removing volume ocloarit_solr_data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement