mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
PEP fixes
This commit is contained in:
1 parent
f239c8f8c8
commit
362437e75e
4 files changed
+1652
-1266
No files matched your search
@@ -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')
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user