Skip to content

Commit 6512af8

Browse files
CuriousGeorgiyDifferentialOrange
authored andcommitted
test: fix box.tuple.new variable argument syntax usage
Variable argument syntax of `box.tuple.new` will be disabled in scope of tarantool/tarantool#4693: adapt the DML test suite to stop using it.
1 parent 1427094 commit 6512af8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/suites/test_dml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def test_07_call_16(self):
210210
self.assertEqual(len(ans[0]), 1)
211211
self.assertIsInstance(ans[0][0], str)
212212

213-
self.assertSequenceEqual(con.call('box.tuple.new', [1, 2, 3, 'fld_1']),
213+
self.assertSequenceEqual(con.call('box.tuple.new', [[1, 2, 3, 'fld_1']]),
214214
[[1, 2, 3, 'fld_1']])
215215
self.assertSequenceEqual(con.call('box.tuple.new', 'fld_1'), [['fld_1']])
216216
finally:
@@ -236,7 +236,7 @@ def test_07_call_17(self):
236236
self.assertEqual(len(ans), 1)
237237
self.assertIsInstance(ans[0], str)
238238

239-
self.assertSequenceEqual(con.call('box.tuple.new', [1, 2, 3, 'fld_1']),
239+
self.assertSequenceEqual(con.call('box.tuple.new', [[1, 2, 3, 'fld_1']]),
240240
[[1, 2, 3, 'fld_1']])
241241
self.assertSequenceEqual(con.call('box.tuple.new', 'fld_1'), [['fld_1']])
242242

0 commit comments

Comments
 (0)