mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
reformatted code to satisfy linter
This commit is contained in:
parent
3752148630
commit
1520e80adc
1 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
from django.test import TestCase, RequestFactory, Client
|
from django.test import TestCase, RequestFactory, Client
|
||||||
from django_fsm import transition
|
|
||||||
from django.contrib.admin.sites import AdminSite
|
from django.contrib.admin.sites import AdminSite
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
||||||
|
@ -47,9 +46,9 @@ class TestDomainApplicationAdminForm(TestCase):
|
||||||
# Create a form instance with the test application
|
# Create a form instance with the test application
|
||||||
form = DomainApplicationAdminForm(instance=self.application)
|
form = DomainApplicationAdminForm(instance=self.application)
|
||||||
|
|
||||||
# Verify that the form choices match the available transitions for the initial state
|
# Verify that the form choices match the available transitions for started
|
||||||
expected_choices = [('started', 'started'), ('submitted', 'submitted')]
|
expected_choices = [("started", "started"), ("submitted", "submitted")]
|
||||||
self.assertEqual(form.fields['status'].widget.choices, expected_choices)
|
self.assertEqual(form.fields["status"].widget.choices, expected_choices)
|
||||||
|
|
||||||
|
|
||||||
class TestDomainApplicationAdmin(TestCase):
|
class TestDomainApplicationAdmin(TestCase):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue