Replacing psycopg2.copy_expert with psycopg3.copy

This commit is contained in:
John Westcott IV
2023-04-27 08:03:27 -04:00
committed by John Westcott IV
parent e47d30974c
commit a665d96026
8 changed files with 114 additions and 84 deletions

View File

@@ -98,7 +98,7 @@ class TestJobNotificationMixin(object):
@pytest.mark.django_db
@pytest.mark.parametrize('JobClass', [AdHocCommand, InventoryUpdate, Job, ProjectUpdate, SystemJob, WorkflowJob])
def test_context(self, JobClass, sqlite_copy_expert, project, inventory_source):
def test_context(self, JobClass, sqlite_copy, project, inventory_source):
"""The Jinja context defines all of the fields that can be used by a template. Ensure that the context generated
for each job type has the expected structure."""
kwargs = {}