update to vcsfile 2 draft
authorDavid Douard <david.douard@logilab.fr>
Thu, 11 Dec 2014 22:18:16 +0100
changeset 1739 50514ad06479
parent 1738 dbf8a63bd907
child 1740 f3137466457a
update to vcsfile 2 - kill SVN support - update to new vcsfile 2 schema
test/test_apycot.py
test/unittest_preprocessors.py
testutils.py
--- a/test/test_apycot.py	Tue Oct 21 23:17:46 2014 +0200
+++ b/test/test_apycot.py	Thu Dec 11 22:18:16 2014 +0100
@@ -18,12 +18,11 @@
 
 
 class AutomaticWebTest(AutomaticWebTest):
-    no_auto_populate = set(('Repository', 'Revision', 'VersionedFile',
-                            'VersionContent', 'DeletedVersionContent',
+    no_auto_populate = set(('Repository', 'Revision',
                             'TestExecution', 'Plan', 'CheckResult', 'CheckResultInfo'))
-    ignored_relations = set(('at_revision', 'parent_revision',
-                             'from_repository', 'from_revision', 'content_for',
-                             'nosy_list', 'execution_of'))
+    ignored_relations = set(('parent_revision',
+                             'from_repository',
+                             'nosy_list'))
 
     def setUp(self):
         super(AutomaticWebTest, self).setUp()
--- a/test/unittest_preprocessors.py	Tue Oct 21 23:17:46 2014 +0200
+++ b/test/unittest_preprocessors.py	Thu Dec 11 22:18:16 2014 +0100
@@ -75,7 +75,6 @@
                                       local_repository=self.vcsrepo).eid
 
             self.vcsrepo2 = cnx.create_entity('Repository', type=u'mercurial',
-                    # use path to avoid clone attempt when using url
                     source_url=u'file://' + unicode(self.datapath('project1')),
                     reverse_local_repository=self.lgce)
 
--- a/testutils.py	Tue Oct 21 23:17:46 2014 +0200
+++ b/testutils.py	Thu Dec 11 22:18:16 2014 +0100
@@ -169,7 +169,6 @@
                 check_environment=u'SETUPTOOLS=1\nDISPLAY=:2.0'
                 ).eid
             self.vcsrepo = cnx.create_entity('Repository', type=u'mercurial',
-                                             # use path to avoid clone attempt when using url
                                              source_url=u'file://' + unicode(self.datapath('project')),
                                              reverse_local_repository=self.lgce).eid
             self.pyp = cnx.create_entity('TestConfig', name=u'PYTHONPACKAGE',