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:
@@ -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],
|
||||
|
||||
@@ -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'),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user