mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-25 10:27:39 +00:00
enable previously disabled filters
This commit is contained in:
@@ -1194,11 +1194,11 @@ class BuildListTest(BuildAPITest):
|
|||||||
self.run_output_test(
|
self.run_output_test(
|
||||||
self.url,
|
self.url,
|
||||||
[
|
[
|
||||||
'part_detail'
|
'part_detail',
|
||||||
# TODO re-enable ('project_code_detail', 'project_code'),
|
('project_code_detail', 'project_code'),
|
||||||
# TODO re-enable 'project_code_detail',
|
'project_code_detail',
|
||||||
# TODO re-enable ('user_detail', 'responsible_detail'),
|
('user_detail', 'responsible_detail'),
|
||||||
# TODO re-enable ('user_detail', 'issued_by_detail'),
|
('user_detail', 'issued_by_detail'),
|
||||||
],
|
],
|
||||||
additional_params={'limit': 1},
|
additional_params={'limit': 1},
|
||||||
assert_fnc=lambda x: x.data['results'][0],
|
assert_fnc=lambda x: x.data['results'][0],
|
||||||
|
|||||||
@@ -1403,8 +1403,8 @@ class PartAPITest(PartAPITestBase):
|
|||||||
('location_detail', 'default_location_detail'),
|
('location_detail', 'default_location_detail'),
|
||||||
'parameters',
|
'parameters',
|
||||||
('path_detail', 'category_path'),
|
('path_detail', 'category_path'),
|
||||||
# TODO re-enable ('pricing', 'pricing_min'),
|
('pricing', 'pricing_min'),
|
||||||
# TODO re-enable ('pricing', 'pricing_updated'),
|
('pricing', 'pricing_updated'),
|
||||||
],
|
],
|
||||||
assert_subset=True,
|
assert_subset=True,
|
||||||
)
|
)
|
||||||
@@ -2686,8 +2686,8 @@ class BomItemTest(InvenTreeAPITestCase):
|
|||||||
'can_build',
|
'can_build',
|
||||||
'part_detail',
|
'part_detail',
|
||||||
'sub_part_detail',
|
'sub_part_detail',
|
||||||
# TODO re-enable 'substitutes',
|
'substitutes',
|
||||||
# TODO re-enable ('pricing', 'pricing_min'),
|
('pricing', 'pricing_min'),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user