mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
PEP fixes
This commit is contained in:
@ -73,13 +73,11 @@ class CompanyViewTestBase(TestCase):
|
||||
return json_data, form_errors
|
||||
|
||||
|
||||
|
||||
class SupplierPartViewTests(CompanyViewTestBase):
|
||||
"""
|
||||
Tests for the SupplierPart views.
|
||||
"""
|
||||
|
||||
|
||||
def test_supplier_part_create(self):
|
||||
"""
|
||||
Test the SupplierPartCreate view.
|
||||
@ -193,8 +191,6 @@ class CompanyViewTest(CompanyViewTestBase):
|
||||
Test the view for creating a company
|
||||
"""
|
||||
|
||||
url = reverse('company-create')
|
||||
|
||||
# Check that different company types return different form titles
|
||||
response = self.client.get(reverse('supplier-create'), HTTP_X_REQUESTED_WITH='XMLHttpRequest')
|
||||
self.assertContains(response, 'Create new Supplier')
|
||||
|
Reference in New Issue
Block a user