An error occurred fetching the project authors.
- 17 Feb, 2023 1 commit
-
-
Romain Courteaud authored
-
- 19 Dec, 2022 1 commit
-
-
Jérome Perrin authored
The add-hoc assertin filter: -- from typing import List import lib2to3 from lib2to3.fixer_base import BaseFix from lib2to3.fixer_util import Comma, Name class FixAssertIn(BaseFix): PATTERN = """ power< any+ trailer< '.' meth=("assertTrue" | "assertFalse")> trailer< '(' comparison< (needle=any ( comp_op<'not' 'in'> | 'in' ) haystack=any) > ')' > > """ def transform(self, node: lib2to3.pytree.Node, results: List[lib2to3.pytree.Base]): needle = results['needle'] haystack = results['haystack'] meth = results["meth"][0] method_map = {True: 'assertIn', False: 'assertNotIn'} method_in = meth.value == 'assertTrue' if 'not' in str(needle.parent.children[1]): method_in = not method_in meth.replace(Name(method_map[method_in], prefix=meth.prefix)) needle.parent.children = [needle, Comma(), haystack]
-
- 21 Sep, 2022 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 07 Mar, 2022 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
This is more realistic, because a real HTTP request will use ZPublisher.BaseRequest.BaseRequest.traverse, which has slightly different behaviour than getting the form on the context of document. The behavior becomes different for documents which do some logic on traversal (like for example the web sites changing the skin).
-
- 11 Jun, 2021 1 commit
-
-
Jérome Perrin authored
Duplicate actions are actions from the same category with the same name.
-
- 29 Apr, 2021 1 commit
-
-
Aurel authored
-
- 21 Dec, 2020 1 commit
-
-
Jérome Perrin authored
jsl complains about "class" in object literals, but there's nothing wrong with this. portal_skins/erp5_vcs/gadget_vcs_status.js (17): SyntaxError: invalid property id class: true,
-
- 28 Sep, 2020 1 commit
-
-
Jérome Perrin authored
This test (just like all legacy filesystem tests) does not use business template dependencies but just install business templates in the order from getBusinessTemplateList, but business templates are not listed in correct order. It use to be OK (which warnings), but erp5_test_result can no longer be installed without erp5_project, so review installation order to install erp5_project earlier.
-
- 09 Sep, 2020 1 commit
-
-
Arnaud Fontaine authored
testFunctionalRunMyDocSample was moved to erp5_run_my_doc (1d700b09) but it was a mistake and should have been in erp5_user_tutorial where the Test Page is defined.
-
- 20 Jul, 2020 1 commit
-
-
Arnaud Fontaine authored
-
- 17 Jul, 2020 1 commit
-
-
Arnaud Fontaine authored
-
- 19 Mar, 2020 1 commit
-
-
Arnaud Fontaine authored
Deleted Device Document as it is not used anywhere and not really useful: Item can be used instead. Migrated SubscriptionItem from FS to erp5_open_trade: this is the contract as in https://www.erp5.com/erp5-TechnicalNote.Open.Order#contract and make erp5_payroll depends on erp5_open_trade as Employment Contract is a SubscriptionItem and, per design, Payroll is kind of an Open Order.
-
- 11 Mar, 2020 1 commit
-
-
Jérome Perrin authored
Delivery Cell portal type is not allowed anywhere in erp5_trade. Testing the view action with html test from erp5_trade fail, because the test cannot find a valid container to create delivery cell, as delivery_movement_causality_interaction_workflow expects that this delivery cell is created within a delivery, it fails with: File "Script (Python)", line 1, in DeliveryMovement_calculate state_change['object'].getExplanationValue().Delivery_calculate() AttributeError: 'NoneType' object has no attribute 'Delivery_calculate'
-
- 22 Jan, 2020 1 commit
-
-
Jérome Perrin authored
-
- 28 Nov, 2019 1 commit
-
-
Jérome Perrin authored
Some portal types such as Business Template were not tested by testXHTML because this tests started by modules and recursively tests views based on allowed content types. Because of this approach, types that are not created in a module but in a tool were never tested. With unittest, the only way to dynamically add test methods to a class is to generate a test class in test_suite function. At this stage, the ERP5 site is not created yet, so the test had to introspects business templates XML. This now uses a slightly different approach, instead of finding modules and chain of allowed content types from business template XML, we only use business template to introspect the list of actions. The lookup of the appropriate containers is no longer done before setup by static analysis of business templates XML, but later once the site is created, by dynamic analysis of the modules and allowed content types on the running ERP5 site during the test method. If we don't find a chain of portal types, we create the test document in portal_trash, a tool without filter of content types. This way, we can test all views of all portal types. This revealed a few problems: - we need developer role to create components in portal_components, for this we add developer role to the current user. - Delivery Cell portal type looks not used, there are no container accepting it. We don't test delivery cell views for this reason. - VCS view on business template needs preferences and working copy setup. We just mark this test as expected failure for now. - Solver Decision has a form conditionnaly displayed when there's a relation to a solver, but this test does not evaluate action conditions and does not allow to call a script (that would made it possible to modify the document so that the condition is true). For now we also mark this as expected failure.
-
- 25 Oct, 2019 1 commit
-
-
Jérome Perrin authored
Sometimes validator.erp5.net replies with error code 502 and this cause ERP5 tests to fail. While this is a bit like ignoring problems, problems with validator.erp5.net should not impact ERP5 tests results. /reviewed-on nexedi/erp5!968
-
- 04 Sep, 2019 1 commit
-
-
Jérome Perrin authored
Use gitlab commit status API to annotate commits based on test result status. If commit is the head of a merge request, gitlab will display the status on the merge request. This works by introducing a "Gitlab API Connector", that would perform API calls using a Personal Token [1]. To have test results annotated, one should select the Gitlab API Connector on each test suite repository on the test suite. Also update testXHTML to install erp5_web_service which is now a dependency of erp5_test_result 1: https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html#creating-a-personal-access-token
-
- 10 Jul, 2019 1 commit
-
-
Arnaud Fontaine authored
* Not updated for many years (CodeMirror has since replaced it). * There are now 2 other better source code editors (CodeMirror and Monaco).
-
- 02 Jan, 2019 1 commit
-
-
Bryton Lacquement authored
-
- 24 Oct, 2018 1 commit
-
-
Bryton Lacquement authored
-
- 01 Oct, 2018 2 commits
-
-
Ayush Tiwari authored
-
Ayush Tiwari authored
Partial revert from 2f121c19
-
- 31 Jul, 2018 1 commit
-
-
Ayush Tiwari authored
-
- 05 Jul, 2018 1 commit
-
-
Ayush Tiwari authored
The Diff view in new UI will be using IFrames to display the diff. Also, add changes in tests: erp5_ui_test: Update history test according to use of diff gadget erp5_web_renderjs_ui_test: Update tests according to new Diff view for Historical Revisions testXHTML: Add Historical Comparison View to the list of listbox with no selection name testXHTML: Simplify test_html_file and include way to ignore single html file
-
- 08 Jun, 2018 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 15 Apr, 2018 1 commit
-
-
Ayush Tiwari authored
-
- 30 Mar, 2018 3 commits
-
-
Romain Courteaud authored
Reduce duplicated code.
-
Romain Courteaud authored
Use the hardcoded https://validator.erp5.net service This service is installed with: https://lab.nexedi.com/nexedi/slapos/tree/master/software/htmlvalidatorserver
-
Nicolas Wavrant authored
-
- 26 Oct, 2017 1 commit
-
-
Romain Courteaud authored
-
- 25 Oct, 2017 2 commits
-
-
Romain Courteaud authored
It is no longer maintained. Switch to ck_editor instead.
-
Romain Courteaud authored
ung has been replaced by officejs.
-
- 17 Oct, 2017 3 commits
-
-
Jérome Perrin authored
Not used in this test, but since it's made to be reusable in projects.
-
Jérome Perrin authored
-
Jérome Perrin authored
do not limit to the first script with errors
-
- 20 Sep, 2017 1 commit
-
-
Jérome Perrin authored
-
- 23 Dec, 2016 1 commit
-
-
Vincent Pelletier authored
-