Skip to content

Commit

Permalink
data: france5
Browse files Browse the repository at this point in the history
  • Loading branch information
polomarcus committed Feb 16, 2024
1 parent ac50d7d commit b254cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quotaclimat/data_processing/mediatree/api_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_channels():
channels = [default_channel]
else: #prod - all channels
logging.warning("All channels are used")
return ["tf1", "france2", "fr3-idf", "m6", "arte", "d8", "tmc", "bfmtv", "lci", "franceinfotv", "itele",
return ["tf1", "france2", "fr3-idf", "france5", "m6", "arte", "d8", "tmc", "bfmtv", "lci", "franceinfotv", "itele",
"europe1", "france-culture", "france-inter", "nrj", "rmc", "rtl", "rtl2"]

return channels
Expand Down
2 changes: 1 addition & 1 deletion test/sitemap/test_mediatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ 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", "m6", "arte", "d8", "tmc", "bfmtv", "lci", "franceinfotv", "itele",
assert get_channels() == ["tf1", "france2", "fr3-idf", "france5", "m6", "arte", "d8", "tmc", "bfmtv", "lci", "franceinfotv", "itele",
"europe1", "france-culture", "france-inter", "nrj", "rmc", "rtl", "rtl2"]

def test_get_themes_keywords_duration():
Expand Down

1 comment on commit b254cd5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
postgres
   insert_data.py46785%38–40, 59–61, 66
   insert_existing_data_example.py20385%25–27
postgres/schemas
   models.py711579%74–81, 91–92, 101–111
quotaclimat/data_analytics
   analytics_signataire_charte.py29290%1–67
   bilan.py1081080%2–372
   data_coverage.py34340%1–94
   exploration.py1251250%1–440
   sitemap_analytics.py1181180%1–343
quotaclimat/data_ingestion
   categorization_program_type.py110%1
   config_youtube.py110%1
   scaleway_db_backups.py34340%1–74
   scrap_chartejournalismeecologie_signataires.py50500%1–169
   scrap_sitemap.py1341787%27–28, 33–34, 66–71, 95–97, 138–140, 202, 223–228
   scrap_tv_program.py62620%1–149
   scrap_youtube.py1141140%1–238
quotaclimat/data_ingestion/ingest_db
   ingest_sitemap_in_db.py544026%18–39, 42–61, 65–76
quotaclimat/data_ingestion/scrap_html
   scrap_description_article.py36392%19–20, 32
quotaclimat/data_processing/mediatree
   api_import.py17910641%32–36, 41–44, 48–51, 57, 60–85, 91–106, 111–113, 138–145, 149–152, 156–162, 173–184, 187–191, 197, 222–223, 229, 231, 234–260, 264–275
   config.py15287%7, 16
   detect_keywords.py88693%101–108
   utils.py642167%27–51, 54, 73–74
quotaclimat/data_processing/sitemap
   sitemap_processing.py412734%15–19, 23–25, 29–47, 51–58, 66–96, 101–103
quotaclimat/utils
   channels.py660%1–95
   climate_keywords.py220%3–35
   healthcheck_config.py291452%22–24, 27–38
   logger.py14379%22–24
   plotly_theme.py17170%1–56
TOTAL153696537% 

Tests Skipped Failures Errors Time
39 0 💤 0 ❌ 0 🔥 10.655s ⏱️

Please sign in to comment.