Skip to content

Commit

Permalink
Remove UUIDs from Peru, fixes #1904
Browse files Browse the repository at this point in the history
  • Loading branch information
abhidg committed Jun 11, 2021
1 parent 04a30cf commit 8014550
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion ingestion/functions/parsing/peru/peru.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def parse_cases(raw_data_file, source_id, source_url):
case = {
"caseReference": {
"sourceId": source_id,
"sourceEntryId": entry["UUID"],
"sourceUrl": source_url},
"location": location,
"events": [
Expand Down
12 changes: 0 additions & 12 deletions ingestion/functions/parsing/peru/peru_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def test_parse(self):
result = peru.parse_cases(sample_data_file, _SOURCE_ID, _SOURCE_URL)
self.assertCountEqual(list(result),
[{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '7320cabdc1aaca6c59014cae76a134e6',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'FERREÑAFE',
'administrativeAreaLevel2': 'FERREÑAFE',
Expand All @@ -37,7 +36,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 35.0, 'end': 35.0},
'gender': 'Female'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': 'cecdbf10074dbc011ae05b3cbd320a6f',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'CHORRILLOS',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -53,7 +51,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 36.0, 'end': 36.0},
'gender': 'Male'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '71ecb6bccb248b0bb2ac72ed51b5e979',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -69,7 +66,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 1.0, 'end': 1.0},
'gender': 'Female'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '566af4276cbe9359abe93f9aa86396c3',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -85,7 +81,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 65.0, 'end': 65.0},
'gender': 'Female'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '027561e9d126e7c283d79c02cede562d',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -101,7 +96,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 32.0, 'end': 32.0},
'gender': 'Female'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': 'f016889b9ba5bd95cf15d60205cbd82e',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -117,7 +111,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 44.0, 'end': 44.0},
'gender': 'Male'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '971f8e1295583756d81fe42f3318488c',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -133,7 +126,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 29.0, 'end': 29.0},
'gender': 'Female'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': 'bc45b71b005a96f32eeb97060616a999',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -149,7 +141,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 44.0, 'end': 44.0},
'gender': 'Female'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '0e2a1928ddd07d99978758e86b034131',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel1': 'LIMA',
'country': 'Peru',
Expand All @@ -163,7 +154,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 41.0, 'end': 41.0},
'gender': 'Male'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '1caabc6f4c64b5910bd8254fa0f949ce',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'EL AGUSTINO',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -179,7 +169,6 @@ def test_parse(self):
'demographics': {'ageRange': {'start': 40.0, 'end': 40.0},
'gender': 'Male'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': '028942f0d49b634ff00563c766ea5129',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand All @@ -194,7 +183,6 @@ def test_parse(self):
'dateRange': {'start': '01/05/2021Z', 'end': '01/05/2021Z'}}],
'demographics': {'gender': 'Male'}},
{'caseReference': {'sourceId': 'placeholder_ID',
'sourceEntryId': 'ca700e98a91c6f267e0cb69d9a32ef91',
'sourceUrl': 'placeholder_URL'},
'location': {'administrativeAreaLevel3': 'LIMA',
'administrativeAreaLevel2': 'LIMA',
Expand Down

0 comments on commit 8014550

Please sign in to comment.