Ejemplo n.º 1
0
 def test_it_runs_the_undo_section(self):
     CQLExecutor.execute_undo(
         self.session, 'migration statement;\n--//@UNDO\nundo statement')
     self.session.execute.assert_called_once_with('undo statement')
Ejemplo n.º 2
0
 def test_it_runs_the_undo_section(self):
     CQLExecutor.execute_undo(
         self.session,
         'migration statement;\n--//@UNDO\nundo statement')
     self.session.execute.assert_called_once_with('undo statement')
Ejemplo n.º 3
0
 def test_it_ignores_whitespace_and_other_text_following_undo_marker(self):
     CQLExecutor.execute_undo(
         self.session,
         'migration statement;\n\t--//@UNDO  begin undo\nundo statement')
     self.session.execute.assert_called_once_with('undo statement')
Ejemplo n.º 4
0
 def test_it_ignores_whitespace_and_other_text_following_undo_marker(self):
     CQLExecutor.execute_undo(
         self.session,
         'migration statement;\n\t--//@UNDO  begin undo\nundo statement')
     self.session.execute.assert_called_once_with('undo statement')