2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-24 18:07:38 +00:00

enable previously disabled filters

This commit is contained in:
Matthias Mair
2025-10-17 02:41:06 +02:00
parent 037db06f27
commit 9ecf251716
2 changed files with 9 additions and 9 deletions

View File

@@ -1194,11 +1194,11 @@ class BuildListTest(BuildAPITest):
self.run_output_test(
self.url,
[
'part_detail'
# TODO re-enable ('project_code_detail', 'project_code'),
# TODO re-enable 'project_code_detail',
# TODO re-enable ('user_detail', 'responsible_detail'),
# TODO re-enable ('user_detail', 'issued_by_detail'),
'part_detail',
('project_code_detail', 'project_code'),
'project_code_detail',
('user_detail', 'responsible_detail'),
('user_detail', 'issued_by_detail'),
],
additional_params={'limit': 1},
assert_fnc=lambda x: x.data['results'][0],

View File

@@ -1403,8 +1403,8 @@ class PartAPITest(PartAPITestBase):
('location_detail', 'default_location_detail'),
'parameters',
('path_detail', 'category_path'),
# TODO re-enable ('pricing', 'pricing_min'),
# TODO re-enable ('pricing', 'pricing_updated'),
('pricing', 'pricing_min'),
('pricing', 'pricing_updated'),
],
assert_subset=True,
)
@@ -2686,8 +2686,8 @@ class BomItemTest(InvenTreeAPITestCase):
'can_build',
'part_detail',
'sub_part_detail',
# TODO re-enable 'substitutes',
# TODO re-enable ('pricing', 'pricing_min'),
'substitutes',
('pricing', 'pricing_min'),
],
)