black formatting

This commit is contained in:
Jim Ladd
2021-03-24 12:00:46 -07:00
parent 6b4effc85a
commit db6f565dca
5 changed files with 20 additions and 29 deletions

View File

@@ -10,8 +10,7 @@ from awx.main.models import Job
# created before job event tables were partitioned.
# This test can safely behave as if all job events were created
# after the migration, in which case Job.created_or_epoch == Job.created
@mock.patch('awx.main.models.Job.created_or_epoch',
Job.created)
@mock.patch('awx.main.models.Job.created_or_epoch', Job.created)
@pytest.mark.django_db
@pytest.mark.parametrize(
'truncate, expected',
@@ -38,8 +37,7 @@ def test_job_events_sublist_truncation(get, organization_factory, job_template_f
# created before job event tables were partitioned.
# This test can safely behave as if all job events were created
# after the migration, in which case Job.created_or_epoch == Job.created
@mock.patch('awx.main.models.ad_hoc_commands.AdHocCommand.created_or_epoch',
Job.created)
@mock.patch('awx.main.models.ad_hoc_commands.AdHocCommand.created_or_epoch', Job.created)
@pytest.mark.django_db
@pytest.mark.parametrize(
'truncate, expected',