summaryrefslogtreecommitdiff
path: root/tests/unit/test_connection.py
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2017-09-27 19:01:18 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2017-09-27 19:38:19 +0000
commit8198c0ef45b065d2475077c2e8a0ba999c73abe5 (patch)
tree936d47538cb0dc660cb9212b774e23d11dbe3fcb /tests/unit/test_connection.py
parent305a21586ba77241548ed43607f4b8d7fb6756d8 (diff)
downloadzuul-8198c0ef45b065d2475077c2e8a0ba999c73abe5.tar.gz
Add oldrev/newrev column to the buildset reporter table
This change adds oldrev/newrev column to the zuul_buildset sql table to be able to query post job for a specific commit. Change-Id: Ic9c0b260560123d080fa47c47a76fcfa31eb3607
Diffstat (limited to 'tests/unit/test_connection.py')
-rw-r--r--tests/unit/test_connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_connection.py b/tests/unit/test_connection.py
index de3b7cfb6..6815f8392 100644
--- a/tests/unit/test_connection.py
+++ b/tests/unit/test_connection.py
@@ -69,7 +69,7 @@ class TestSQLConnection(ZuulDBTestCase):
insp = sa.engine.reflection.Inspector(
self.connections.connections['resultsdb'].engine)
- self.assertEqual(11, len(insp.get_columns(buildset_table)))
+ self.assertEqual(13, len(insp.get_columns(buildset_table)))
self.assertEqual(10, len(insp.get_columns(build_table)))
def test_sql_results(self):