mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 10:59:21 +02:00
Add additional patch for testing purposes
This commit is contained in:
parent
f1a5b4abea
commit
3e9b8e9c82
1 changed files with 12 additions and 7 deletions
|
@ -712,6 +712,10 @@ class TestMigrations(TestCase):
|
||||||
with patch(
|
with patch(
|
||||||
"registrar.management.commands.utility.terminal_helper.TerminalHelper.query_yes_no_exit", # noqa
|
"registrar.management.commands.utility.terminal_helper.TerminalHelper.query_yes_no_exit", # noqa
|
||||||
return_value=True,
|
return_value=True,
|
||||||
|
):
|
||||||
|
with patch(
|
||||||
|
"registrar.utility.email.send_templated_email",
|
||||||
|
return_value=None
|
||||||
):
|
):
|
||||||
call_command(
|
call_command(
|
||||||
"master_domain_migrations",
|
"master_domain_migrations",
|
||||||
|
@ -720,6 +724,7 @@ class TestMigrations(TestCase):
|
||||||
migrationJSON=self.migration_json_filename,
|
migrationJSON=self.migration_json_filename,
|
||||||
disablePrompts=True,
|
disablePrompts=True,
|
||||||
)
|
)
|
||||||
|
print(f"here: {mock_client.EMAILS_SENT}")
|
||||||
|
|
||||||
def compare_tables(
|
def compare_tables(
|
||||||
self,
|
self,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue