Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.94 KB | None | 0 0
  1. AssertionError: 'Invalid name type' not found in '{"concept_class": ["Invalid concept class"]}'
  2.  
  3. ======================================================================
  4. FAIL: test_same_source_validation_rule_for_different_source_versions_on_concept_edit (integration_tests.tests.all.ConceptCreateViewTest)
  5. ----------------------------------------------------------------------
  6. Traceback (most recent call last):
  7. File "/code/integration_tests/tests/all.py", line 646, in test_same_source_validation_rule_for_different_source_versions_on_concept_edit
  8. self.assertEquals(response.status_code, status.HTTP_400_BAD_REQUEST)
  9. AssertionError: 404 != 400
  10.  
  11. ======================================================================
  12. FAIL: test_update_concept_without_fully_specified_name (integration_tests.tests.all.ConceptCreateViewTest)
  13. ----------------------------------------------------------------------
  14. Traceback (most recent call last):
  15. File "/code/integration_tests/tests/all.py", line 428, in test_update_concept_without_fully_specified_name
  16. self.assertEquals(responseUpdate.status_code, status.HTTP_400_BAD_REQUEST)
  17. AssertionError: 404 != 400
  18.  
  19. ======================================================================
  20. FAIL: test_concept_id_should_allow_underscore_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
  21. ----------------------------------------------------------------------
  22. Traceback (most recent call last):
  23. File "/code/integration_tests/tests/openmrs_concept_validation.py", line 83, in test_concept_id_should_allow_underscore_positive
  24. self.assertEquals(response.status_code, status.HTTP_201_CREATED)
  25. AssertionError: 400 != 201
  26.  
  27. ======================================================================
  28. FAIL: test_concept_should_have_exactly_one_preferred_name_per_locale_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
  29. ----------------------------------------------------------------------
  30. Traceback (most recent call last):
  31. File "/code/integration_tests/tests/openmrs_concept_validation.py", line 71, in test_concept_should_have_exactly_one_preferred_name_per_locale_positive
  32. self.assertEquals(response.status_code, status.HTTP_201_CREATED)
  33. AssertionError: 400 != 201
  34.  
  35. ======================================================================
  36. FAIL: test_concepts_should_have_unique_fully_specified_name_per_locale_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
  37. ----------------------------------------------------------------------
  38. Traceback (most recent call last):
  39. File "/code/integration_tests/tests/openmrs_concept_validation.py", line 122, in test_concepts_should_have_unique_fully_specified_name_per_locale_positive
  40. self.assertEquals(response.status_code, status.HTTP_201_CREATED)
  41. AssertionError: 400 != 201
  42.  
  43. ======================================================================
  44. FAIL: test_concepts_should_have_unique_fully_specified_name_per_source_locale_negative (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
  45. ----------------------------------------------------------------------
  46. Traceback (most recent call last):
  47. File "/code/integration_tests/tests/openmrs_concept_validation.py", line 165, in test_concepts_should_have_unique_fully_specified_name_per_source_locale_negative
  48. self.assertEquals(response.status_code, status.HTTP_201_CREATED)
  49. AssertionError: 400 != 201
  50.  
  51. ======================================================================
  52. FAIL: test_name_should_be_unique_unless_short_term_positive (integration_tests.tests.openmrs_concept_validation.OpenMRSConceptCreateTest)
  53. ----------------------------------------------------------------------
  54. Traceback (most recent call last):
  55. File "/code/integration_tests/tests/openmrs_concept_validation.py", line 256, in test_name_should_be_unique_unless_short_term_positive
  56. self.assertEquals(response.status_code, status.HTTP_201_CREATED)
  57. AssertionError: 400 != 201
  58.  
  59. ======================================================================
  60. FAIL: test_create_mapping_duplicate_mapping_between_two_concepts (integration_tests.tests.openmrs_mapping_validation.OpenMRSMappingCreateTest)
  61. ----------------------------------------------------------------------
  62. Traceback (most recent call last):
  63. File "/code/integration_tests/tests/openmrs_mapping_validation.py", line 37, in test_create_mapping_duplicate_mapping_between_two_concepts
  64. self.assertEquals(response.data, {"errors": OPENMRS_SINGLE_MAPPING_BETWEEN_TWO_CONCEPTS})
  65. AssertionError: {'errors': u'from_concept_url : Concept matching query does not exist.'} != {'errors': 'There can be only one mapping between two concepts'}
  66. - {'errors': u'from_concept_url : Concept matching query does not exist.'}
  67. + {'errors': 'There can be only one mapping between two concepts'}
  68.  
  69. ======================================================================
  70. FAIL: test_create_mapping_maptype_without_found_lookup (integration_tests.tests.openmrs_mapping_validation.OpenMRSMappingCreateTest)
  71. ----------------------------------------------------------------------
  72. Traceback (most recent call last):
  73. File "/code/integration_tests/tests/openmrs_mapping_validation.py", line 60, in test_create_mapping_maptype_without_found_lookup
  74. self.assertEquals(response.data, {'errors': 'map_type : ' + OPENMRS_INVALID_MAPTYPE})
  75. AssertionError: {'errors': u'from_concept_url : Concept matching query does not exist.'} != {'errors': 'map_type : Invalid mapping type'}
  76. - {'errors': u'from_concept_url : Concept matching query does not exist.'}
  77. + {'errors': 'map_type : Invalid mapping type'}
  78.  
  79. ======================================================================
  80. FAIL: test_change_source_schema_should_fail_when_not_valid_against_open_mrs (integration_tests.tests.validation_on_source_schema_change.ValidationOnSourceSchemaTest)
  81. ----------------------------------------------------------------------
  82. Traceback (most recent call last):
  83. 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
  84. message_with_name_details(OPENMRS_FULLY_SPECIFIED_NAME_UNIQUE_PER_SOURCE_LOCALE, non_unique_name)]}}])
  85. AssertionError: Element counts were not equal:
  86.  
  87. Diff is 861 characters long. Set self.maxDiff to None to see it.
  88.  
  89. ======================================================================
  90. FAIL: test_change_source_schema_should_fail_when_valid_against_open_mrs (integration_tests.tests.validation_on_source_schema_change.ValidationOnSourceSchemaTest)
  91. ----------------------------------------------------------------------
  92. Traceback (most recent call last):
  93. 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
  94. self.assertEqual(response.status_code, HTTP_200_OK)
  95. AssertionError: 400 != 200
  96.  
  97. ----------------------------------------------------------------------
  98. Ran 141 tests in 503.443s
  99.  
  100. FAILED (failures=19, errors=22, skipped=7)
  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 ocloarit_api_run_1 ...
  106. Stopping ocloarit_redis_1 ...
  107. Stopping ocloarit_mongo_1 ...
  108. Stopping ocloarit_solr_1 ...
  109.  
  110. Stopping ocloarit_api_run_1 ... done
  111.  
  112. Stopping ocloarit_redis_1 ... done
  113.  
  114. Stopping ocloarit_solr_1 ... done
  115.  
  116. Stopping ocloarit_mongo_1 ... done
  117. Removing ocloarit_api_run_1 ...
  118. Removing ocloarit_redis_1 ...
  119. Removing ocloarit_mongo_1 ...
  120. Removing ocloarit_solr_1 ...
  121.  
  122. Removing ocloarit_solr_1 ... done
  123.  
  124. Removing ocloarit_redis_1 ... done
  125.  
  126. Removing ocloarit_api_run_1 ... done
  127.  
  128. Removing ocloarit_mongo_1 ... done
  129. Removing network ocloarit_default
  130. Removing volume ocloarit_mongo_data
  131. Removing volume ocloarit_solr_data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement