- 06 Oct, 2017 40 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Sven Franck authored
-
Sven Franck authored
-
Jérome Perrin authored
Abort transaction, we do not need changes made by test to persist. Execute pending activities before removing persons, the pending activities might be relying on the existence of persons.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This changes API on a script that some projects have customized, but getActiveUserPreferecnce "should work" even with an old script not returning preferences. In that case, first call to getActiveUserPreference will create preference but not return it, but next time getActiveUserPreference is called, the preference will probably be indexed and will be returned.
-
Jérome Perrin authored
This method creates a user preference if no preference exists.
-
Jérome Perrin authored
We do not need to pre-create user preferences, especially that creating them too early creates one preferences for each person created in person module and does not allow Person_createUserPreference to create preference based on person's assignments are they are not created yet. We do not need to clear cache when deleting user logins anymore. This problem was fixed differently. Adjust tests that was relying on cache being cleared when persons ar deleted: testERP5Web.TestERP5Web.test_15_Check_LastModified_Header was never isolated from test_14. test_14 was filling Base_getWebDocumentDrivenModificationDate cache and this cache got clear when the persons where being deleted during tearDown. When removing this interaction clearing cache, we revealed this weakness. Choosen solution was to clear cache before checking response headers, to make sure we don't get something filled by a previous test.
-
Jérome Perrin authored
Tests should not need to reindex modules
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Cédric Le Ninivin authored
-
Sebastien Robin authored
In the same time, stop showing range of cores like "9 to 15" cores. The infrastructure should be important enough to have all the time the maximum of cores in the range. So just use the maximum in the range, "15 cores" here.
-
Romain Courteaud authored
-
Sebastien Robin authored
Make sure we find section if we render https://my_site/my_section/foo.html. This is required to take into account configuration of the web section, like specific content security policy.
-
Sven Franck authored
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Vincent Pelletier authored
Should make test output more expressive on failure.
-
Vincent Pelletier authored
To make it more likely detect killed transactions before entering tpc_finish phase.
-
Vincent Pelletier authored
Saves one round-trip to server.
-
Vincent Pelletier authored
This parameter does not force a reconnection, it allows reconnecting if a closed-connection is detected when querying on a transactional connection on which the transaction was already started.
-
Vincent Pelletier authored
Otherwise, all subsequent tests fail too.
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Sven Franck authored
-
Vincent Bechu authored
-
Vincent Bechu authored
This reverts commit 699759bc
-
Jérome Perrin authored
variation_category is implemented
-
Jérome Perrin authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-