Long line linting

This commit is contained in:
Neil Martinsen-Burrell 2023-11-13 09:40:21 -06:00
parent f873bb3804
commit 7b69df29bd
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
2 changed files with 4 additions and 7 deletions

View file

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

View file

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