Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.73 KB | None | 0 0
  1. create_mapping(user, source, concept1, concept2, "Same As")
  2. File "/code/test_helper/base.py", line 182, in create_mapping
  3. return Mapping.objects.get(id=mapping.id)
  4. File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
  5. return self.get_query_set().get(*args, **kwargs)
  6. File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
  7. self.model._meta.object_name)
  8. DoesNotExist: Mapping matching query does not exist.
  9.  
  10. ======================================================================
  11. ERROR: test_edit_mapping_after_creation (mappings.tests.OpenMRSMappingValidationTest)
  12. ----------------------------------------------------------------------
  13. Traceback (most recent call last):
  14. File "/code/mappings/tests.py", line 1100, in test_edit_mapping_after_creation
  15. mapping = create_mapping(user, source1, concept1, concept2, "Same As")
  16. File "/code/test_helper/base.py", line 182, in create_mapping
  17. return Mapping.objects.get(id=mapping.id)
  18. File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
  19. return self.get_query_set().get(*args, **kwargs)
  20. File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
  21. self.model._meta.object_name)
  22. DoesNotExist: Mapping matching query does not exist.
  23.  
  24. ======================================================================
  25. ERROR: test_update_different_from_and_to_pairs_to_same_from_and_to_pairs_should_throw_validation_error (mappings.tests.OpenMRSMappingValidationTest)
  26. ----------------------------------------------------------------------
  27. Traceback (most recent call last):
  28. 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
  29. create_mapping(user, source1, concept1, concept2, "Same As")
  30. File "/code/test_helper/base.py", line 182, in create_mapping
  31. return Mapping.objects.get(id=mapping.id)
  32. File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
  33. return self.get_query_set().get(*args, **kwargs)
  34. File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
  35. self.model._meta.object_name)
  36. DoesNotExist: Mapping matching query does not exist.
  37.  
  38. ======================================================================
  39. FAIL: test_a_name_can_be_equal_to_a_short_name (concepts.tests.OpenMRSConceptValidationTest)
  40. ----------------------------------------------------------------------
  41. Traceback (most recent call last):
  42. File "/code/concepts/tests.py", line 1286, in test_a_name_can_be_equal_to_a_short_name
  43. self.assertEquals(0, len(errors))
  44. AssertionError: 0 != 1
  45.  
  46. ======================================================================
  47. FAIL: test_concepts_should_have_unique_fully_specified_name_per_locale (concepts.tests.OpenMRSConceptValidationTest)
  48. ----------------------------------------------------------------------
  49. Traceback (most recent call last):
  50. File "/code/concepts/tests.py", line 1171, in test_concepts_should_have_unique_fully_specified_name_per_locale
  51. self.assertEquals(0, len(errors1))
  52. AssertionError: 0 != 1
  53.  
  54. ======================================================================
  55. FAIL: test_duplicate_preferred_name_per_source_should_fail (concepts.tests.OpenMRSConceptValidationTest)
  56. ----------------------------------------------------------------------
  57. Traceback (most recent call last):
  58. File "/code/concepts/tests.py", line 1204, in test_duplicate_preferred_name_per_source_should_fail
  59. self.assertEquals(0, len(errors1))
  60. AssertionError: 0 != 1
  61.  
  62. ======================================================================
  63. FAIL: test_locale_preferred_name_uniqueness_doesnt_apply_to_shorts (concepts.tests.OpenMRSConceptValidationTest)
  64. ----------------------------------------------------------------------
  65. Traceback (most recent call last):
  66. File "/code/concepts/tests.py", line 1340, in test_locale_preferred_name_uniqueness_doesnt_apply_to_shorts
  67. self.assertEquals(0, len(errors))
  68. AssertionError: 0 != 1
  69.  
  70. ======================================================================
  71. FAIL: test_unique_preferred_name_per_locale_within_source_negative (concepts.tests.OpenMRSConceptValidationTest)
  72. ----------------------------------------------------------------------
  73. Traceback (most recent call last):
  74. File "/code/concepts/tests.py", line 1239, in test_unique_preferred_name_per_locale_within_source_negative
  75. self.assertEquals(0, len(errors1))
  76. AssertionError: 0 != 1
  77.  
  78. ======================================================================
  79. FAIL: test_specifier_should_initialize_openmrs_validator_with_reference_values (concepts.tests.ValidatorSpecifierTest)
  80. ----------------------------------------------------------------------
  81. Traceback (most recent call last):
  82. File "/code/concepts/tests.py", line 1400, in test_specifier_should_initialize_openmrs_validator_with_reference_values
  83. self.assertItemsEqual(expected_reference_values[u'DescriptionTypes'], actual_reference_values[u'DescriptionTypes'])
  84. AssertionError: Element counts were not equal:
  85. First has 1, Second has 0: u'None'
  86. First has 1, Second has 0: u'FULLY_SPECIFIED'
  87. First has 1, Second has 0: u'Definition'
  88.  
  89. ======================================================================
  90. FAIL: test_create_mapping_negative__invalid_mapping_type (mappings.tests.MappingTest)
  91. ----------------------------------------------------------------------
  92. Traceback (most recent call last):
  93. File "/code/mappings/tests.py", line 403, in test_create_mapping_negative__invalid_mapping_type
  94. self.assertEquals(1, len(errors))
  95. AssertionError: 1 != 2
  96.  
  97. ----------------------------------------------------------------------
  98. Ran 271 tests in 568.069s
  99.  
  100. FAILED (failures=7, errors=22, skipped=3)
  101. + docker-compose down -v
  102. The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string.
  103. The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string.
  104. The AWS_STORAGE_BUCKET_NAME variable is not set. Defaulting to a blank string.
  105. Stopping ocloarut_api_run_1 ...
  106. Stopping ocloarut_solr_1 ...
  107. Stopping ocloarut_redis_1 ...
  108. Stopping ocloarut_mongo_1 ...
  109.  
  110. Stopping ocloarut_api_run_1 ... done
  111.  
  112. Stopping ocloarut_redis_1 ... done
  113.  
  114. Stopping ocloarut_solr_1 ... done
  115.  
  116. Stopping ocloarut_mongo_1 ... done
  117. Removing ocloarut_api_run_1 ...
  118. Removing ocloarut_solr_1 ...
  119. Removing ocloarut_redis_1 ...
  120. Removing ocloarut_mongo_1 ...
  121.  
  122. Removing ocloarut_api_run_1 ... done
  123.  
  124. Removing ocloarut_solr_1 ... done
  125.  
  126. Removing ocloarut_redis_1 ... done
  127.  
  128. Removing ocloarut_mongo_1 ... done
  129. Removing network ocloarut_default
  130. Removing volume ocloarut_mongo_data
  131. Removing volume ocloarut_solr_data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement