equal
deleted
inserted
replaced
1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
259 |
259 |
260 @tag('update', 'NULL') |
260 @tag('update', 'NULL') |
261 def test_bfss_update_to_None(self): |
261 def test_bfss_update_to_None(self): |
262 f = self.session.create_entity('Affaire', opt_attr=Binary('toto')) |
262 f = self.session.create_entity('Affaire', opt_attr=Binary('toto')) |
263 self.session.commit() |
263 self.session.commit() |
264 self.session.set_pool() |
264 self.session.set_cnxset() |
265 f.set_attributes(opt_attr=None) |
265 f.set_attributes(opt_attr=None) |
266 self.session.commit() |
266 self.session.commit() |
267 |
267 |
268 @tag('fs_importing', 'update') |
268 @tag('fs_importing', 'update') |
269 def test_bfss_update_with_fs_importing(self): |
269 def test_bfss_update_with_fs_importing(self): |