def expect_resource_type_multiple(self):
        """Expect selected resources when --resource-type given multiple times"""
        results = self.run_dbt_ls(["--resource-type", "test", "--resource-type", "model"])
        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",
        }

        results = self.run_dbt_ls(
            [
                "--resource-type",
                "test",
                "--resource-type",
                "model",
                "--exclude",
                "unique_outer_id",
            ]
        )
        assert set(results) == {
            "test.ephemeral",
            "test.incremental",
            "test.not_null_outer_id",
            "test.outer",
            "test.snapshot_source",
            "test.metricflow_time_spine",
            "test.metricflow_time_spine_second",
            "test.model_to_unit_test",
            "test.model_with_lots_of_schema_configs",
            "test.sub.inner",
            "test.t",
            "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",
        }

        results = self.run_dbt_ls(
            [
                "--resource-type",
                "test",
                "model",
                "--select",
                "+inner",
                "outer+",
                "--exclude",
                "inner",
            ]
        )
        assert set(results) == {
            "test.ephemeral",
            "test.not_null_outer_id",
            "test.unique_outer_id",
            "test.outer",
        }
Expect selected resources when --resource-type given multiple times
tests/functional/list/test_list.py