Skip to content

Commit

Permalink
Add columns which start with 'Sitelink' to the new routes sheet (#89)
Browse files Browse the repository at this point in the history
Co-authored-by: Kumaran Rajendhiran <[email protected]>
  • Loading branch information
rjambrecic and kumaranvpl authored Aug 28, 2024
1 parent dcfcab0 commit 77a23f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions google_sheets/data_processing/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def _validate_language_codes(
"Include Location",
"Include Language",
"Exclude Language",
"Sitelink",
]


Expand Down
4 changes: 4 additions & 0 deletions tests/data_processing/test_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ def test_process_data_f(
"Include Location 2": "Croatia",
"Include Language 1": "English",
"Exclude Language 1": "German",
"Sitelink Asset ID 1": "111",
"Sitelink Asset ID 2": "222",
}
),
pd.Series(
Expand All @@ -370,6 +372,8 @@ def test_process_data_f(
"Include Location 2": "Croatia",
"Include Language 1": "English",
"Exclude Language 1": "German",
"Sitelink Asset ID 1": "111",
"Sitelink Asset ID 2": "222",
}
),
),
Expand Down

0 comments on commit 77a23f1

Please sign in to comment.