- 31 3月, 2017 6 次提交
-
-
由 Narasimhan V 提交于
Added '-y' to pvcreate since pvcreate asks for confirmation if previous filesystem signature exists. Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: robot plugin: pylint fixes robot: fix error on unknown tests
-
由 Amador Pahim 提交于
Fixing pylint messages for the robot plugin module. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
When robot plugin cannot determine the tests from the test references we should return an empty list instead of an exception. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
When the "sudo" is present in the PATH but is broken, the "process.system" raises OSError. Let's address this issue and report False in such case (as sudo is unusable) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 30 3月, 2017 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 29 3月, 2017 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Improved linux_modules [v4] avocado.utils.linux_modules: Improved the module. Added the following parameters to the return value of loaded_module_info() * filename * version * parameters list * depends list Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
robot: fix issue on missing test references Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Amador Pahim 提交于
We have to consider that `avocado list` may be executed without the test references. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 28 3月, 2017 7 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Robot Plugin
-
由 Lukáš Doktor 提交于
Recently we added a check for canceled test, let's also check the "cancel" number of tests are reported correctly in json plugin. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Deprecate message in self.skip() Accept self.cancel() in setUp() and tearDown() Don't execute setUp()/tearDown() on SKIP
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
This updates the mentions of the Avocado packages to new package names. Also, it tries to bring a more focused content to the README file, that is, something more brief and direct, while using the updated package names. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
With a single item, but as a place holder for all docs, articles and even videos out there covering Avocado usage. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The current README talks about a vision for Avocado. This made sense a while ago, but right now, it's better to describe what Avocado currently is. The project vision can be seen from our planning boards. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 27 3月, 2017 2 次提交
-
-
由 Amador Pahim 提交于
self.skip() is to be deprecated. This is the first step, adding a message to the exception raised by the self.skip() and adjusting the examples tests accordingly. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
self.cancel() should be accepted everywhere, including setUp() and tearDown(). Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 25 3月, 2017 1 次提交
-
-
由 Amador Pahim 提交于
Skip decorators are intended to skip the test. Skipping the test means also no setUp() and no tearDown(). This patch makes the setUp() and tearDown() to be also skipped when using the skip decorators. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 24 3月, 2017 3 次提交
-
-
由 Narasimhan V 提交于
avocado/utils/linux_modules: Docstring changes and pylint changes. Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
由 Narasimhan V 提交于
avocado.utils.linux_modules: Improved the module. Added the following parameters to the return value of loaded_module_info() * filename * version * parameters list * depends list Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
由 Amador Pahim 提交于
This patch creates an optional plugin to run Robot Framework tests inside Avocado. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 23 3月, 2017 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
In many cases when you are developing a test suite using avocado libraries, you want to flag certain exceptional conditions as real test failures, rather than something that will be converted to an ERROR status (the current default behavior). Consider QEMU testing: An exception involving a QEMU core dump should be considered a failure in pretty much every scenario one can think of. So it makes sense to have code similar to: from avocado import TestFail QEMUCoreDump(TestFail): pass so that when said exception happens inside library code, the test can be immediately flagged as a failure, without having to introduce boilerplate code to check for error conditions. So at least the 3 main test related exceptions (TestFail, TestError and TestCancel) should be directly exposed in the test writer API. Methods such as self.fail() are neat shortcuts for simpler cases and should be used, but entirely isolating access to *all* avocado exceptions is detrimental to the goal of reducing boilerplate code in tests. This patch adds the mentioned 3 test exceptions to the avocado namespace, making them part of the test writer API. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
- 20 3月, 2017 1 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 18 3月, 2017 1 次提交
-
-
由 Jun Guo 提交于
Same issue as PR#1853. Signed-off-by: NJun Guo <blackhumour.gj@gmail.com>
-
- 15 3月, 2017 4 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
By mapping to urlparse* and urllib* libraries from appropriate locations. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Instead of using the commands module, available only in Python 2.7 and earlier, let's use our own utils.process module. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This is a simple collection of syntatic fixes that work across Python 2.7 and 3.x. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 14 3月, 2017 2 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 11 3月, 2017 4 次提交
-
-
由 Cleber Rosa 提交于
That includes creating a new section for them, and also adding name and description to the `yaml_to_mux` implementation. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
These were introduced when the throbber feedback was implemented, and probably the idea was to give extra information in the UI. This was never implemented, and no other internal component relies on it, so let's remove it to avoid bitrot. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 10 3月, 2017 4 次提交
-
-
由 Amador Pahim 提交于
We have received many requests to support skip tests from inside the test method. As we can do that without breaking our own concepts, we decided to introduce the CANCEL status and the corresponding self.cancel() method to the Test class. Reference: https://trello.com/c/viBJIEwISigned-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
To make sure the seltests does not leave job results behind, we introduced a check which compares the job-results directory content from before the selftets with the content after the selftests. But using `AVOCADO_SELF_CHECK=1 make check`, we expect at least one extra result in the job-results directory, making the content of the job-results to not be the same after the tests. This patch changes the avocado command used for self check in `make check`, pointing the results to a temporary directory. Reference: https://trello.com/c/y57xZSUSSigned-off-by: NAmador Pahim <apahim@redhat.com>
-