diff --git a/quotaclimat/data_processing/mediatree/api_import.py b/quotaclimat/data_processing/mediatree/api_import.py index 9701ad7c..b2f94f93 100644 --- a/quotaclimat/data_processing/mediatree/api_import.py +++ b/quotaclimat/data_processing/mediatree/api_import.py @@ -66,7 +66,7 @@ def get_channels(): else: #prod - all channels logging.warning("All channels are used") return ["tf1", "france2", "fr3-idf", "france5", "m6", "arte", "d8", "tmc", "bfmtv", "lci", "franceinfotv", "itele", - "europe1", "france-culture", "france-inter", "sud-radio", "rmc", "rtl", "france24", "france-info"] + "europe1", "france-culture", "france-inter", "sud-radio", "rmc", "rtl", "france24", "france-info", "rfi"] return channels diff --git a/test/sitemap/test_mediatree.py b/test/sitemap/test_mediatree.py index 283858a8..b2df1267 100644 --- a/test/sitemap/test_mediatree.py +++ b/test/sitemap/test_mediatree.py @@ -131,8 +131,10 @@ def test_get_channels(): if(os.environ.get("ENV") == "docker"): assert get_channels() == ["france2"] # default for docker compose config else: + assert get_channels() == ["tf1", "france2", "fr3-idf", "france5", "m6", "arte", "d8", "tmc", "bfmtv", "lci", "franceinfotv", "itele", - "europe1", "france-culture", "france-inter", "sud-radio", "rmc", "rtl", "france24", "france-info"] + "europe1", "france-culture", "france-inter", "sud-radio", "rmc", "rtl", "france24", "france-info", "rfi"] + def test_save_to_pg_keyword(): conn = connect_to_db()