Browse Source

Fixes the new content revision test

Adrien Panay 7 years ago
parent
commit
722c5a02cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/tests/models/test_content_revision.py

+ 1 - 1
tracim/tracim/tests/models/test_content_revision.py View File

@@ -13,7 +13,7 @@ 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')
16
+        excluded_columns = ('revision_id', '_sa_instance_state', 'depot_file')
17 17
         revision_columns = [attr.key for attr in inspect(revision).attrs if not attr.key in excluded_columns]
18 18
         new_revision = ContentRevisionRO()
19 19