An error occurred fetching the project authors.
- 01 Apr, 2024 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 03 Mar, 2023 1 commit
-
-
Arnaud Fontaine 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]
-
- 29 Apr, 2021 1 commit
-
-
Aurel authored
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 30 Jan, 2014 1 commit
-
-
- 15 Mar, 2012 1 commit
-
-
Rafael Monnerat authored
Included original code of Zelinium downloaded from this URL: - http://pypi.python.org/packages/source/P/Products.Zelenium/Products.Zelenium-1.0.3.tar.gz#md5=57e846e670c4ef139791a9bcbd51c240 The goals of this fork is upgrade Selenium to version (2.6.0), which includes captureEntireScreenshot feature and from Xavier's changes which introduces ad-hoc changes in selenium which permits automatically upload images on ERP5.
-