Skip to content

Commit

Permalink
Polish-test
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolepore committed May 14, 2024
1 parent 470391c commit d253bbf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/testthat/test-sector_profile.R
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,7 @@ test_that("at product level, an unmatched `type`, `sector`, or `subsector` yield
expect_true(is.na(product$profile_ranking))
})

test_that("at product level, xxxxxxxxxxxxxxxxxxx", {
# > clustered c should have the grouped_by value "weo_a_2050" instead of "NA".
# > We have a tilt_sector for that clustered and hence should show all
# > benchmarks, even if they are NA.
test_that("at product level, a product that matches `sector` and `subsector` for one `type` yields `groupd_by == <type>_<scenario>_<year>` for every `type` (i.e. no `type` is NA)", {
# styler: off
companies <- tribble(
~companies_id, ~clustered, ~activity_uuid_product_uuid, ~tilt_sector, ~tilt_subsector, ~type, ~sector, ~subsector,
Expand Down

0 comments on commit d253bbf

Please sign in to comment.