|
@@ -13,7 +13,13 @@ from tracim.tests import TestStandard, BaseTest
|
13
|
13
|
class TestContentRevision(BaseTest, TestStandard):
|
14
|
14
|
|
15
|
15
|
def _new_from(self, revision):
|
16
|
|
- excluded_columns = ('revision_id', '_sa_instance_state', 'depot_file')
|
|
16
|
+ excluded_columns = (
|
|
17
|
+ 'revision_id',
|
|
18
|
+ '_sa_instance_state',
|
|
19
|
+ 'depot_file',
|
|
20
|
+ 'node',
|
|
21
|
+ 'revision_read_statuses',
|
|
22
|
+ )
|
17
|
23
|
revision_columns = [attr.key for attr in inspect(revision).attrs if not attr.key in excluded_columns]
|
18
|
24
|
new_revision = ContentRevisionRO()
|
19
|
25
|
|