--- a/server/test/unittest_datafeed.py Fri Jun 08 16:47:07 2012 +0200
+++ b/server/test/unittest_datafeed.py Mon Jun 11 09:22:11 2012 +0200
@@ -54,7 +54,7 @@
stats = dfsource.pull_data(session, force=True)
self.commit()
# test import stats
- self.assertEqual(sorted(stats.keys()), ['created', 'updated'])
+ self.assertEqual(sorted(stats.keys()), ['checked', 'created', 'updated'])
self.assertEqual(len(stats['created']), 1)
entity = self.execute('Card X').get_entity(0, 0)
self.assertIn(entity.eid, stats['created'])
--- a/server/test/unittest_ldapuser.py Fri Jun 08 16:47:07 2012 +0200
+++ b/server/test/unittest_ldapuser.py Mon Jun 11 09:22:11 2012 +0200
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb.server.sources.ldapusers unit and functional tests"""
+from __future__ import with_statement
import os
import shutil