- 02 1月, 2018 4 次提交
-
-
由 Lukáš Doktor 提交于
The subprocess.DEVNULL is not available on Python2. This reverts commit e51acbfa. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 27 12月, 2017 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
A few extra configurations needed for the Python 3 builds running on Travis-CI. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
Merge branch 'travis_configuration_python3' of https://github.com/clebergnu/avocado into clebergnu-travis_configuration_python3
-
- 24 12月, 2017 3 次提交
-
-
由 Cleber Rosa 提交于
The environment that Travis-CI sets up is somehow broken with regards to the requirements for six. The exact message we get and running selftests/run is: pkg_resources.ContextualVersionConflict: (six 1.9.0 (/home/travis/virtualenv/python3.4_with_system_site_packages/lib/python3.4/site-packages), Requirement.parse('six>=1.10.0'), {'Fabric3'}) Let's bump the requirements to 1.10.0, to try to help Travis-CI. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
pylint catches what the (on purpose) nasty example test does with: "Raising a new style class which doesn't inherit from BaseException". But, since that's on purpose, let's silent pylint instead. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Which, different than standard Python xml.etree library, can do schema validation. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 22 12月, 2017 13 次提交
-
-
由 Cleber Rosa 提交于
pylint reports that the `avocado.core` module doesn't exist, which is really weird. Let's disable this false negative. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Which is the preferred way of saying that a parameter is a file, and, makes pylint happy on Python 3. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The HTML plugin is using the `subprocess` library to fire up the web browser that will show the report. In theory, we could be using our own `avocado.utils.process` for that, but given the comments in that section, I believe there may be caveats. As a fix for the immediate issue at hand (pylint catching a failure on a Python 3 environment about using `file`), let's just use the definitions from the `subprocess` module itself. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Instead of comparing a string against the exception, and relying on its conversion to a string. This approach is undesirable and is caught by pylint on Python 3. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
That's the only sane way to handle data, as bytes. Let's not assume any enconding on them. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This lock doesn't prevent, say, multiple drainers from writing to a single location. It's not a cross-instance lock so I fail to see how it has any purpose at all. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
It doesn't have a 'result_obj' attribute, but it does have a `result` attribute which should be an instance of `avocado.utils.process.CmdResult`. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
avocado.utils.process.system_output() is a utility function that has the goal of returning the process output only. Let's use it instead when that's the only goal of the calling code. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This moves the tests that belong to plugins (remote and vm) to their own directories. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Cleber Rosa 提交于
Because that version contains Python 3 syntax fixes. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Move tests to the plugin's own directory. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Move tests to the plugin's own directory. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 21 12月, 2017 12 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Merge branch 'move_yaml_to_mux_tests_v2' of https://github.com/clebergnu/avocado into clebergnu-move_yaml_to_mux_tests_v2
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Merge branch 'epel_7_rpm_build_release_57_0_release_1_upstream' of https://github.com/clebergnu/avocado into clebergnu-epel_7_rpm_build_release_57_0_release_1_upstream
-
由 Lucas Meneghel Rodrigues 提交于
-
https://github.com/clebergnu/avocado由 Lucas Meneghel Rodrigues 提交于
Merge branch 'tree_docs_tests' of https://github.com/clebergnu/avocado into clebergnu-tree_docs_tests
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
These classes and methods have knowledge about the YAML files, and the YAML to Mux plugin is the only user of those. this plugin. So it makes sense to move it to the plugin module. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
And drop the notion of a "multiplex capable" Avocado. If the plugin is installed, then we assume the dependencies have been fulfilled. The plugin presence is used then for the creation of the test suite, including the plugin's own tests. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This drops the notion of a "multiplex capable" Avocado. If the plugin is installed, then we assume the dependencies have been fulfilled. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This change enables plugins tests to also be run in parallel, if they exist. Because the "selftests/{unit,functional,doc}" directories are valid Python modules, that is, they contain `__init__.py` files and can be imported by the unittest runner, no special handling is necessary. But, since the complete path for directories which (can) hold plugins tests are not valid Python modules (and shouldn't be), some special handling of directories is necessary. Because of that, it's not currently possible to run *all* of the tests (from "core" selftests and from plugins) at the same time. A future enhacement would be to better schedule processes that can be loaded from the same path at the same time, but all of them at once with global "test slices". Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 20 12月, 2017 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
So there are no clases in history of RPM releases. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Some versions of the unittest mock library cannot easily deal with (builtin) open(). Let's skip these tests on those platforms, instead of coming up with cumbersome code to support them on all (ancient) versions. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 12月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-