1. 07 1月, 2016 3 次提交
  2. 06 1月, 2016 2 次提交
  3. 07 12月, 2015 1 次提交
    • C
      virtualenv: allow tests to run properly on them · 63aa6df6
      Cleber Rosa 提交于
      While going through the dependency list (requirements*.txt files) and
      performing our self tests out of virtual environments, I noticed that
      some tests are run outside the virtual environments.
      
      The reason is that, even though the virtual environment is activated
      for the test session (and say, `which python` gives `/venv/bin/python`),
      we have hard coded `/usr/bin/python` in most places.
      
      According to the some discussions on the virtualenv project itself[1],
      a quick solution is to revert to the also common `/usr/bin/env python`
      way of pointing to the Python interpreter.
      
      [1] - https://github.com/pypa/virtualenv/issues/124Signed-off-by: NCleber Rosa <crosa@redhat.com>
      63aa6df6
  4. 18 11月, 2015 1 次提交
  5. 03 11月, 2015 1 次提交
  6. 08 10月, 2015 1 次提交
    • L
      avocado: Mass import cleanups · f4e82a6e
      Lucas Meneghel Rodrigues 提交于
      This is an automated mass import cleanup across all
      avocado source files:
      
      1) Imports follow the order:
       * Standard library imports
       * Non standard library external imports
       * Internal imports
       All separated by a single line
      2) One line between imports and the rest of the code
      3) Remove unused imports in the process
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      f4e82a6e
  7. 05 10月, 2015 1 次提交
  8. 30 9月, 2015 1 次提交
  9. 18 9月, 2015 1 次提交
  10. 17 9月, 2015 1 次提交
  11. 15 9月, 2015 1 次提交
    • L
      avocado.core.test: Avoid passing ugly exceptions · 73c8cefb
      Lukáš Doktor 提交于
      Currently when one passes exception, which is not instance of Exception,
      avocado proceeds and returns "INTERRUPTED" test instead of "ERROR". This
      for example happens when old-style-class is used as exception. This
      patch uses pure "except" without any argument to catch such exceptions
      and then it wraps them in "exceptions.TestError" instead.
      
      The same applies to "setUp" and "tearDown", they only use different
      class as a wrapper.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      73c8cefb
  12. 14 8月, 2015 1 次提交
  13. 10 8月, 2015 4 次提交
  14. 04 8月, 2015 1 次提交
  15. 31 7月, 2015 3 次提交
  16. 08 7月, 2015 1 次提交
  17. 07 7月, 2015 7 次提交
  18. 19 6月, 2015 1 次提交
  19. 18 6月, 2015 3 次提交
  20. 12 6月, 2015 3 次提交
  21. 09 6月, 2015 2 次提交
    • C
      API review: move avocado.gdb to avocado.utils.gdb · f8f898a7
      Cleber Rosa 提交于
      This means also moving its dependencies, namely spark and gdbmi_parser,
      to a place under avocado/utils. I've chosen to add another level here
      to clearly identify those deps as 3rd party external modules that are
      reused in Avocado.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      f8f898a7
    • C
      API review: move avocado.restclient to avocado.core.restclient · adadd5d3
      Cleber Rosa 提交于
      The initial idea about the avocado.restclient namespace was that
      eventually users could write scripts using that as an API to
      interact with avocado-server using Python code.
      
      While the idea is still valid, the avocado-server interface is
      a simple and standards compliant RESTful interface. Thus, users
      can still easily interact with it without us having to support
      a formal Python API at this point.
      
      In the future, if need arises, we can improve the Python REST
      client API and promote it to a public namespace.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      adadd5d3