fix up test_import_image_internal.py
This commit is contained in:
parent
d50169b7c4
commit
df71995320
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ class TestImportImageInternal(unittest.TestCase):
|
|||
self.assertEquals(len(cursor.execute.mock_calls), 1)
|
||||
expression, kwargs = cursor.execute.mock_calls[0][1]
|
||||
expression = " ".join(expression.split())
|
||||
expected = 'INSERT INTO archive_rpm_components (archive_id,rpm_id) ' + \
|
||||
'VALUES (%(archive_id)i,%(rpm_id)i)'
|
||||
expected = 'INSERT INTO archive_rpm_components (archive_id, rpm_id) ' + \
|
||||
'VALUES (%(archive_id)s, %(rpm_id)s)'
|
||||
self.assertEquals(expression, expected)
|
||||
self.assertEquals(kwargs, {'archive_id': 9, 'rpm_id': 6})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue