Skip to content

Commit

Permalink
全量修改-ci测试
Browse files Browse the repository at this point in the history
  • Loading branch information
unknowissue committed Jan 12, 2022
1 parent 4078de2 commit 685fdda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/engines/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,8 @@ def test_osc_not_support(self, _query):
sqlsha1 = 'xxxxx'
sql = f"inception pause alter '{sqlsha1}';"
_query.return_value = ResultSet(full_sql=sql, rows=[], column_list=[])
with self.assertRaisesMessage(ValueError, 'pt-osc不支持暂停和恢复,需要停止执行请使用终止按钮!'):
new_engine.osc_control(sqlsha1=sqlsha1, command=command)
new_engine.osc_control(sqlsha1=sqlsha1, command=command)
_query.assert_called_once_with(sql=sql)

@patch('sql.engines.goinception.GoInceptionEngine.query')
def test_get_variables(self, _query):
Expand Down

0 comments on commit 685fdda

Please sign in to comment.