PEP fixes

This commit is contained in:
Oliver Walters 2020-11-13 07:28:21 +11:00
parent f239c8f8c8
commit 362437e75e
4 changed files with 1652 additions and 1266 deletions

View File

@ -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