Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7078
[test] New Handling of database for test.
This patch adds a new TestDataBaseHandler class.
TestDataBaseHandler are in charge of Setup, backup, restore, connection,
repository caching and cleanup for database used during the test.
TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools
functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract
class and must be subclassed to implement functionalities specific to each
driver.
TestDataBaseHandler can store and restore various database setups.
devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that
its TestCase uses a specific database that should be cached. The
pre_setup_database class method is used to setup the database that will be
cached. The setup_database method is kept uncached.
The same TestDataBaseHandler are reused for every test using the same config
object. TestDataBaseHandler try to reuse Repository objects as much as
possible.
All cubicweb test have been updated.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Mar 2011 12:17:32 +0100] rev 7077
[reledit] repair some brokennes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:57 +0100] rev 7076
[reledit] kill the reledit/doreledit duality
* * *
[reledit] use action to determine form content
* * *
[reledit] use self.entity instead of passing entity everywhere
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:47:09 +0100] rev 7075
default (3.11.X) is now stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:46:45 +0100] rev 7074
stable (3.10.X) is now oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:22 +0100] rev 7073
[test] add some tags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:21 +0100] rev 7072
[test] properly close connections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 14:59:21 +0100] rev 7071
[devtools] fix anonymous user handling in test classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:04:46 +0100] rev 7070
[web] provide a data_url() method on req and get_rid of explicit datadir_url usage (#1438736)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:03:37 +0100] rev 7069
[views] #1499661 get rid of base tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 11:58:57 +0100] rev 7068
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 11:56:35 +0100] rev 7067
[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 18:26:43 +0100] rev 7066
[testlib] fix regression introduced in 7065:6a6ea9966931
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7065
[testlib] simplify code by using a class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 13:42:55 +0100] rev 7064
[repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 09 Mar 2011 12:24:50 +0100] rev 7063
fix editable_attributes bug (closes #1534802)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 22:35:19 +0100] rev 7062
[http test] fix typo in super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:32:19 +0100] rev 7061
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:21:40 +0100] rev 7060
[testlib] New assertion method assertSentEmail() to test presence of emails in system mailbox
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 18 Feb 2011 15:26:00 +0100] rev 7059
[tests] Fix web test for windmill and forms
- new component 'inout' needed to be clicked (windmill)
- renamed id will fail html tests (windmill and unittest_forms.py)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:16:44 +0100] rev 7058
[uilib] fix eid_param implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:32 +0100] rev 7057
[test] fix bad super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:12 +0100] rev 7056
[dbapi] split in_memory_cnx functions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:38 +0100] rev 7055
Remove trailing white space
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:15 +0100] rev 7054
Add a "closed" property on session
This will simplify check and allow nicer error thatn the current "no _tx_data"
attribute error.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:02 +0100] rev 7053
[test] Improve tagging and error message of TwistedCWIdentTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:52:35 +0100] rev 7052
[test/windmill] Gracefully skip windmill test if windmill can't be imported.
If windmill import fails the windmill module is set to None and a dummy
CubicWebWindmillUseCase test class is create. This class contains a test that
skip itself with a proper warning message.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:49:32 +0100] rev 7051
[devtools/qunit] had "qunit" test for tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 16:00:25 +0100] rev 7050
[3.10.9 migration] don't display progress bar if stdout is not a tty
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 23:16:22 +0100] rev 7049
[source host alias] match_host is the attribute, match is the method