mirror of
https://github.com/ansible/awx.git
synced 2026-09-05 03:18:29 -02:30
black formatting
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user