Skip to content

Commit

Permalink
Update unit test for changes in APDB configuration (DM-34480)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-slac committed May 13, 2022
1 parent 69856ea commit 91a3b0b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_makeapdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,6 @@ def testSetValueFile(self):
self.assertEqual(parsed.config.db_url, 'dummy')
self.assertEqual(parsed.config.dia_object_index, 'pix_id_iov')

def testDiaPipeDefaults(self):
"""Verify that DiaPipelineTask's custom APDB settings are included.
"""
args = '-c db_url="dummy"'
parsed = self._parseString(args)
# Allow ap_association or AP_ASSOCIATION.
self.assertRegex(parsed.config.extra_schema_file, "(?i)ap_association")

@contextlib.contextmanager
def _temporaryBuffer(self):
tempStdErr = io.StringIO()
Expand Down

0 comments on commit 91a3b0b

Please sign in to comment.