File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 2929class TestImmunizationModelPreValidationRules (unittest .TestCase ):
3030 """Test immunization pre validation rules on the FHIR model using the covid sample data"""
3131
32- MOCK_REDIS_D2V_RESPONSE = {
33- "4740000" : "SHINGLES" ,
34- "6142004" : "FLU" ,
35- "16814004" : "PCV13" ,
36- "23511006" : "MENACWY" ,
37- "27836007" : "PERTUSSIS" ,
38- "55735004" : "RSV" ,
39- "240532009" : "HPV" ,
40- "840539006" : "COVID19" ,
41- "14189004:36653000:36989005" : "MMR" ,
42- "14189004:36653000:36989005:38907003" : "MMRV" ,
43- "397430003:398102009:76902006" : "3in1"
44- }
4532
4633 def setUp (self ):
4734 """Set up for each test. This runs before every test"""
@@ -713,7 +700,7 @@ def test_pre_validate_missing_valueCodeableConcept2(self):
713700
714701 def test_pre_validate_missing_valueCodeableConcept3 (self ):
715702 # Test case: valid data (should not raise an exception)
716- self .mock_redis_client .hget .return_value = self . MOCK_REDIS_D2V_RESPONSE
703+ self .mock_redis_client .hget .return_value = "COVID19"
717704 valid_json_data = deepcopy (self .json_data )
718705 try :
719706 self .validator .validate (valid_json_data )
You can’t perform that action at this time.
0 commit comments