mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Simple Python 3 compatibility changes
Summary: Changes that move towards python 3 compatibility that are easy to review without much thought Test Plan: The tests Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2873
This commit is contained in:
@@ -244,6 +244,6 @@ class TestDocModel(test_engine.EngineTestCase):
|
||||
|
||||
# Verify that positions are set such that the order is what we asked for.
|
||||
student_columns = self.engine.docmodel.tables.lookupOne(tableId='Students').columns
|
||||
self.assertEqual(map(int, student_columns), [1,2,4,5,6,25,22,23])
|
||||
self.assertEqual(list(map(int, student_columns)), [1,2,4,5,6,25,22,23])
|
||||
school_columns = self.engine.docmodel.tables.lookupOne(tableId='Schools').columns
|
||||
self.assertEqual(map(int, school_columns), [24,10,12])
|
||||
self.assertEqual(list(map(int, school_columns)), [24,10,12])
|
||||
|
||||
Reference in New Issue
Block a user