def expect_resource_type_env_var(self):
        """Expect selected resources when --resource-type given multiple times"""
        os.environ["DBT_RESOURCE_TYPES"] = "test model"
        results = self.run_dbt_ls()
        assert set(results) == {
            "test.ephemeral",
            "test.incremental",
            "test.not_null_outer_id",
            "test.outer",
            "test.snapshot_source",
            "test.sub.inner",
            "test.metricflow_time_spine",
            "test.metricflow_time_spine_second",
            "test.model_to_unit_test",
            "test.model_with_lots_of_schema_configs",
            "test.t",
            "test.unique_outer_id",
            "test.unique_model_with_lots_of_schema_configs_id",
            "test.expression_is_true_seed_b_2",
            "test.not_null_seed__a_",
            "test.not_null_seed__b_",
            "test.my_favorite_test",
            "test.my_second_favorite_test",
        }
        del os.environ["DBT_RESOURCE_TYPES"]
        os.environ["DBT_EXCLUDE_RESOURCE_TYPES"] = (
            "test saved_query metric source semantic_model snapshot seed"
        )
        results = self.run_dbt_ls()
        assert set(results) == {
            "exposure:test.weekly_jaffle_metrics",
            "test.ephemeral",
            "test.incremental",
            "test.outer",
            "test.snapshot_source",
            "test.sub.inner",
            "test.metricflow_time_spine",
            "test.metricflow_time_spine_second",
            "test.model_to_unit_test",
            "test.model_with_lots_of_schema_configs",
            "unit_test:test.test_model_to_unit_test",
            "unit_test:test.test_model_to_unit_test_2",
        }
        del os.environ["DBT_EXCLUDE_RESOURCE_TYPES"]
Expect selected resources when --resource-type given multiple times
tests/functional/list/test_list.py