mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 02:49:21 +02:00
Long line linting
This commit is contained in:
parent
f873bb3804
commit
7b69df29bd
2 changed files with 4 additions and 7 deletions
|
@ -37,11 +37,7 @@ class Command(BaseCommand):
|
||||||
help="Send emails ",
|
help="Send emails ",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument("emails", nargs="*", help="Email addresses to send invitations to")
|
||||||
"emails",
|
|
||||||
nargs="*",
|
|
||||||
help="Email addresses to send invitations to"
|
|
||||||
)
|
|
||||||
|
|
||||||
def handle(self, **options):
|
def handle(self, **options):
|
||||||
"""Process the objects in TransitionDomain."""
|
"""Process the objects in TransitionDomain."""
|
||||||
|
|
|
@ -284,8 +284,9 @@ class TestLogins(TestCase):
|
||||||
output_stream = StringIO()
|
output_stream = StringIO()
|
||||||
# also have to re-point the logging handlers to output_stream
|
# also have to re-point the logging handlers to output_stream
|
||||||
with less_console_noise(output_stream):
|
with less_console_noise(output_stream):
|
||||||
call_command("send_domain_invitations", "testuser@gmail.com",
|
call_command(
|
||||||
"agustina.wyman7@test.com", stdout=output_stream)
|
"send_domain_invitations", "testuser@gmail.com", "agustina.wyman7@test.com", stdout=output_stream
|
||||||
|
)
|
||||||
|
|
||||||
# Check that we had the right numbers in our output
|
# Check that we had the right numbers in our output
|
||||||
output = output_stream.getvalue()
|
output = output_stream.getvalue()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue