diff --git a/lib/dl_api_lib/dl_api_lib_tests/db/data_api/result/complex_queries/test_ext_agg_basic.py b/lib/dl_api_lib/dl_api_lib_tests/db/data_api/result/complex_queries/test_ext_agg_basic.py index 3e2030151..5769c7e8c 100644 --- a/lib/dl_api_lib/dl_api_lib_tests/db/data_api/result/complex_queries/test_ext_agg_basic.py +++ b/lib/dl_api_lib/dl_api_lib_tests/db/data_api/result/complex_queries/test_ext_agg_basic.py @@ -995,3 +995,22 @@ def test_bi_4652_measure_filter_with_total_in_select(self, control_api, data_api data_rows = get_data_rows(result_resp) dim_values = [row[0] for row in data_rows] assert len(dim_values) == len(set(dim_values)), "Dimension values are not unique" + + @pytest.mark.xfail(reason="https://github.com/datalens-tech/datalens-backend/issues/98") # FIXME + def test_fixed_with_unknown_field(self, control_api, data_api, saved_dataset): + ds = add_formulas_to_dataset( + api_v1=control_api, + dataset=saved_dataset, + formulas={ + "sales sum fx unknown": "SUM([sales] FIXED [unknown])", + }, + ) + + result_resp = data_api.get_result( + dataset=ds, + fields=[ + ds.find_field(title="sales sum fx unknown"), + ], + fail_ok=True, + ) + assert result_resp.status_code == HTTPStatus.BAD_REQUEST, result_resp.json