Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create_mapping(user, source, concept1, concept2, "Same As")
- File "/code/test_helper/base.py", line 182, in create_mapping
- return Mapping.objects.get(id=mapping.id)
- File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
- return self.get_query_set().get(*args, **kwargs)
- File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
- self.model._meta.object_name)
- DoesNotExist: Mapping matching query does not exist.
- ======================================================================
- ERROR: test_edit_mapping_after_creation (mappings.tests.OpenMRSMappingValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/mappings/tests.py", line 1100, in test_edit_mapping_after_creation
- mapping = create_mapping(user, source1, concept1, concept2, "Same As")
- File "/code/test_helper/base.py", line 182, in create_mapping
- return Mapping.objects.get(id=mapping.id)
- File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
- return self.get_query_set().get(*args, **kwargs)
- File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
- self.model._meta.object_name)
- DoesNotExist: Mapping matching query does not exist.
- ======================================================================
- ERROR: test_update_different_from_and_to_pairs_to_same_from_and_to_pairs_should_throw_validation_error (mappings.tests.OpenMRSMappingValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/mappings/tests.py", line 1079, in test_update_different_from_and_to_pairs_to_same_from_and_to_pairs_should_throw_validation_error
- create_mapping(user, source1, concept1, concept2, "Same As")
- File "/code/test_helper/base.py", line 182, in create_mapping
- return Mapping.objects.get(id=mapping.id)
- File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
- return self.get_query_set().get(*args, **kwargs)
- File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
- self.model._meta.object_name)
- DoesNotExist: Mapping matching query does not exist.
- ======================================================================
- FAIL: test_a_name_can_be_equal_to_a_short_name (concepts.tests.OpenMRSConceptValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/concepts/tests.py", line 1286, in test_a_name_can_be_equal_to_a_short_name
- self.assertEquals(0, len(errors))
- AssertionError: 0 != 1
- ======================================================================
- FAIL: test_concepts_should_have_unique_fully_specified_name_per_locale (concepts.tests.OpenMRSConceptValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/concepts/tests.py", line 1171, in test_concepts_should_have_unique_fully_specified_name_per_locale
- self.assertEquals(0, len(errors1))
- AssertionError: 0 != 1
- ======================================================================
- FAIL: test_duplicate_preferred_name_per_source_should_fail (concepts.tests.OpenMRSConceptValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/concepts/tests.py", line 1204, in test_duplicate_preferred_name_per_source_should_fail
- self.assertEquals(0, len(errors1))
- AssertionError: 0 != 1
- ======================================================================
- FAIL: test_locale_preferred_name_uniqueness_doesnt_apply_to_shorts (concepts.tests.OpenMRSConceptValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/concepts/tests.py", line 1340, in test_locale_preferred_name_uniqueness_doesnt_apply_to_shorts
- self.assertEquals(0, len(errors))
- AssertionError: 0 != 1
- ======================================================================
- FAIL: test_unique_preferred_name_per_locale_within_source_negative (concepts.tests.OpenMRSConceptValidationTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/concepts/tests.py", line 1239, in test_unique_preferred_name_per_locale_within_source_negative
- self.assertEquals(0, len(errors1))
- AssertionError: 0 != 1
- ======================================================================
- FAIL: test_specifier_should_initialize_openmrs_validator_with_reference_values (concepts.tests.ValidatorSpecifierTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/concepts/tests.py", line 1400, in test_specifier_should_initialize_openmrs_validator_with_reference_values
- self.assertItemsEqual(expected_reference_values[u'DescriptionTypes'], actual_reference_values[u'DescriptionTypes'])
- AssertionError: Element counts were not equal:
- First has 1, Second has 0: u'None'
- First has 1, Second has 0: u'FULLY_SPECIFIED'
- First has 1, Second has 0: u'Definition'
- ======================================================================
- FAIL: test_create_mapping_negative__invalid_mapping_type (mappings.tests.MappingTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/code/mappings/tests.py", line 403, in test_create_mapping_negative__invalid_mapping_type
- self.assertEquals(1, len(errors))
- AssertionError: 1 != 2
- ----------------------------------------------------------------------
- Ran 271 tests in 568.069s
- FAILED (failures=7, errors=22, skipped=3)
- + 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 ocloarut_api_run_1 ...
- Stopping ocloarut_solr_1 ...
- Stopping ocloarut_redis_1 ...
- Stopping ocloarut_mongo_1 ...
- Stopping ocloarut_api_run_1 ... done
- Stopping ocloarut_redis_1 ... done
- Stopping ocloarut_solr_1 ... done
- Stopping ocloarut_mongo_1 ... done
- Removing ocloarut_api_run_1 ...
- Removing ocloarut_solr_1 ...
- Removing ocloarut_redis_1 ...
- Removing ocloarut_mongo_1 ...
- Removing ocloarut_api_run_1 ... done
- Removing ocloarut_solr_1 ... done
- Removing ocloarut_redis_1 ... done
- Removing ocloarut_mongo_1 ... done
- Removing network ocloarut_default
- Removing volume ocloarut_mongo_data
- Removing volume ocloarut_solr_data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement