Skip to content

Commit a00c86a

Browse files
improve valid sites robustness
1 parent 23ef258 commit a00c86a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

l10n_CM/region/CA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"walmart",
66
"demo",
77
"etsy",
8-
"newbalance"
8+
"newbalance",
99
"ebay"
1010
],
1111
"tests": [

l10n_CM/region/DE.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"region": "DE",
33
"sites": [
4-
54
"amazon",
65
"mediamarkt",
76
"demo"

l10n_CM/run_l10n.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
import requests
1111

12+
from check_l10n_test_cases import valid_l10n_mappings
13+
1214
current_dir = os.path.dirname(__file__)
1315
valid_flags = {"--run-headless", "-n", "--reruns", "--fx-executable", "--ci"}
1416
flag_with_parameter = {"-n", "--reruns"}
@@ -30,6 +32,8 @@
3032
"zalando",
3133
"aldoshoes",
3234
}
35+
loaded_valid_sites = valid_l10n_mappings().keys()
36+
valid_sites = valid_sites.union(set(loaded_valid_sites))
3337
live_sites = []
3438

3539
LOCALHOST = "127.0.0.1"

0 commit comments

Comments
 (0)