- 06 6月, 2018 1 次提交
-
-
由 Abdul Haleem 提交于
This patche takes care of Slot format for ibm and openpower machines * S0001 * Slot1 * SLOT1 * Backplane USB * U78CB.001.WZS07CU-P1-C9-T1 (should return U78CB.001.WZS07CU-P1-C9) * Onboard USB Respective unit test has also been added test_utils_pci.py Signed-off-by: NAbdul Haleem <abdhalee@linux.vnet.ibm.com> Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
- 04 6月, 2018 1 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Update documentation to reflect relocated examples. Update avocado.conf to reflect relocated example tests. SPEC file: Relocate examples to doc directory to prevent inclusion of python version-specific byte-compiled files in package.
-
- 02 6月, 2018 1 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Add methods to get/set cpuidle states
-
- 01 6月, 2018 1 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: selftest: Fix line-wrap
-
- 30 5月, 2018 1 次提交
-
-
由 Satheesh Rajendran 提交于
Add methods to get/set cpuidle states in host and selftests for the method. Signed-off-by: NSatheesh Rajendran <sathnaga@linux.vnet.ibm.com>
-
- 28 5月, 2018 2 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Added method to get NUMA nodes with memory
-
- 24 5月, 2018 2 次提交
-
-
由 Harish 提交于
This patch adds method to get list of nodes with memory on given machine. Signed-off-by: NHarish <harish@linux.vnet.ibm.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Add comma_separated_ranges_to_list utility
-
- 23 5月, 2018 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Fedora 28 changed the URL of the Cloud Images, from "CloudImages" to simply "Cloud". Let's adapt the name depending on the version requested. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 21 5月, 2018 1 次提交
-
-
由 Harish 提交于
Patch adds comma_separated_ranges_to_list utility to return a list of integers from comma separated range values Signed-off-by: NHarish <harish@linux.vnet.ibm.com>
-
- 18 5月, 2018 3 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Merlin Mathesius 提交于
Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
-
由 Merlin Mathesius 提交于
Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
-
- 17 5月, 2018 3 次提交
-
-
由 Cleber Rosa 提交于
On some architectures, Python will return a long on data_structures.DataSize conversions. That makes the identity check assertion fail, because: >>> long(0) == int(0) True But: >>> long(0) is int(0) False Reference: https://kojipkgs.fedoraproject.org//work/tasks/1223/26881223/build.logSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Merlin Mathesius 提交于
python version-specific byte-compiled files in package. Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 15 5月, 2018 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 11 5月, 2018 4 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Python 3: fix re.search() using string pattern on a bytes-like object
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: utils.partition: Use encoding instead of bytes test: Allow unicode in exception (and tests results in general) utils.astring: Allow converting any object "to_text" utils.astring: Use prefered encoding as default to `to_text` method utils.astring: Add preferred ENCODING
-
由 chunfuwen 提交于
re.search(regexp, out) need regexp and out in the same type:string or bytes currently regexp is string,but out is bytes,which throw TypeError Fix this issue by transfering out into string forcedly Signed-off-by: Nchunfuwen <chwen@redhat.com>
-
由 Merlin Mathesius 提交于
* move man pages into common package * claim ownership of all config and content directories * Python version-specific packaging of avocado-rest-client Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
-
- 10 5月, 2018 5 次提交
-
-
由 Lukáš Doktor 提交于
The mountpoints are user-facing values and should be reported decoded. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Currently Avocado crashes on py2 when the exception contains unicode. Let's use the new "astring.to_text" method to safely get the exception details. As this exception is part of the results, this commit also fixes the result plugins to cope with unicodes in them. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Previously the "astring.to_text" correctly handled bytes or string types. This commit allows using it to convert anything to text. The use-case is to turn any object into string in a safe manner, which is useful to replace "str(...)" calls on python2 which fails with unicode while working well on py3 as well. Note it's not necessary to convert all "str(...)" calls as objects that use "__repr__" are usually safe and "astring.to_text" becomes equivalent of "str(...)", but for objects (eg. Exception, ...) the "astring.to_text" is required. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Most frequently people want to convert to the prefered encoding. Let's avoid the need to specify the encoding in such cases and require encoding only when different one should be used. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
There is no right encoding, but the `locale.getpreferredencoding` suits most cases. Let's avoid the usually unnecessary `locale` import and people struggling to remember the most appropriate method and store it in `avocado.utils.astring`. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 08 5月, 2018 1 次提交
-
-
* selftests/unit/test_xunit.py: also output schema validation errors * selftests/unit/test_xunit.py: junit XSD file is only used in one test * selftests/unit/test_xunit.py: specify JUnit variation used Signed-off-by: NWainer dos Santos Moschetta <wainersm@redhat.com>
-
- 07 5月, 2018 5 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Python 3: fix re.findall() using string pattern on a bytes-like object
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: python 3 : Journalctl collection failed issue
-
由 chunfuwen 提交于
re.findall(regexp, out) or re.search need regexp and out in the same type:st currently regexp is string,but out is bytes,which cause exception thrown whe Fix this issue by transfering out into string forcedly Signed-off-by: Nchunfuwen <chwen@redhat.com>
-
由 chunfuwen 提交于
json.loads(xx) on python 3 need string object out_journalctl open in text mode but bytes passed in Simply fix them by forcing to string and open in bytes mode Signed-off-by: Nchunfuwen <chwen@redhat.com>
-
- 04 5月, 2018 6 次提交
-
-
由 Cleber Rosa 提交于
On Fedora 28, if a Python 2 script is invoked with "/usr/bin/python", it will produce a warning like this: DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out Let's tell the unittests explicitly to use the versioned script, created during the "pythonX.Y setup.py develop --user" step. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Used during the %check phase. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
When a plugin is not installed, its command line options are not registered with the optparse based code. That is caught earlier than Avocado's own handling of incompatible options (in this case, the replay and the remote runner), and results in the errors such as: avocado run: error: unrecognized arguments: --remote-hostname When building RPM packages for Python 3, the remote runner plugin is not available, and this test should be skipped. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The "--old-chroot" command line option was added right after the chroot model was changed in Fedora and was causing build failures. It now seems to perform OK, so let's use the "current" chroot method. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
On b97a4cfa, the (noisy) output produced by the inspekt lint (and underline pylint) was silenced by having it redirected to a file. This seems to no longer be necessary. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-