mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 02:49: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
|
@ -713,13 +713,18 @@ class TestMigrations(TestCase):
|
|||
"registrar.management.commands.utility.terminal_helper.TerminalHelper.query_yes_no_exit", # noqa
|
||||
return_value=True,
|
||||
):
|
||||
call_command(
|
||||
"master_domain_migrations",
|
||||
runMigrations=True,
|
||||
migrationDirectory=self.test_data_file_location,
|
||||
migrationJSON=self.migration_json_filename,
|
||||
disablePrompts=True,
|
||||
)
|
||||
with patch(
|
||||
"registrar.utility.email.send_templated_email",
|
||||
return_value=None
|
||||
):
|
||||
call_command(
|
||||
"master_domain_migrations",
|
||||
runMigrations=True,
|
||||
migrationDirectory=self.test_data_file_location,
|
||||
migrationJSON=self.migration_json_filename,
|
||||
disablePrompts=True,
|
||||
)
|
||||
print(f"here: {mock_client.EMAILS_SENT}")
|
||||
|
||||
def compare_tables(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue