This commit is contained in:
Jing Wang 2017-03-29 15:21:33 -07:00
Родитель 498326c837
Коммит 293cfacc0f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -97,9 +97,9 @@ class TestHive(unittest.TestCase, DBAPITestCase):
async=True
)
self.assertEqual(cursor.poll().operationState, ttypes.TOperationState.RUNNING_STATE)
assert any('Stage' in line for line in cursor.fetch_logs())
cursor.cancel()
self.assertEqual(cursor.poll().operationState, ttypes.TOperationState.CANCELED_STATE)
assert any('Stage' in line for line in cursor.fetch_logs())
def test_noops(self):
"""The DB-API specification requires that certain actions exist, even though they might not