Skip to content

Commit 407370a

Browse files
committed
Fix tests for test_schema (space count is changed over time)
1 parent 9e15f7b commit 407370a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/suites/test_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ def test_06_index_cached(self):
208208
self.assertEqual(len(index.parts), 1)
209209

210210
def test_07_schema_version_update(self):
211-
self.assertEqual(len(self.con.select('_space')), 12)
211+
_space_len = len(self.con.select('_space'))
212212
self.srv.admin("box.schema.create_space('ttt22')")
213-
self.assertEqual(len(self.con.select('_space')), 13)
213+
self.assertEqual(len(self.con.select('_space')), _space_len + 1)
214214

215215
@classmethod
216216
def tearDownClass(self):

0 commit comments

Comments
 (0)