mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
remove unused code
This commit is contained in:
parent
3f8ba0cd8e
commit
68d182d67b
@ -41,7 +41,7 @@ class BomUploadTest(InvenTreeAPITestCase):
|
|||||||
assembly=False,
|
assembly=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_bom(self, filename, file_data, part=None, clear_existing=None, expected_code=None, content_type='text/plain'):
|
def post_bom(self, filename, file_data, clear_existing=None, expected_code=None, content_type='text/plain'):
|
||||||
|
|
||||||
bom_file = SimpleUploadedFile(
|
bom_file = SimpleUploadedFile(
|
||||||
filename,
|
filename,
|
||||||
@ -49,9 +49,6 @@ class BomUploadTest(InvenTreeAPITestCase):
|
|||||||
content_type=content_type,
|
content_type=content_type,
|
||||||
)
|
)
|
||||||
|
|
||||||
if part is None:
|
|
||||||
part = self.part.pk
|
|
||||||
|
|
||||||
if clear_existing is None:
|
if clear_existing is None:
|
||||||
clear_existing = False
|
clear_existing = False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user