1. 18 12月, 2015 16 次提交
  2. 13 9月, 2015 1 次提交
    • H
      setup.py: Set zip_safe flag to false · 43d64f26
      Hao Liu 提交于
      In module avocado.core.plugins.builtin, There is a calling of
      os.listdir() to iterate files in the installed python directory.
      
      If avocado is installed in an .egg file which is compressed, it will
      fail to load because that path does not really exists.
      
      To avoid this failure, this patch set zip_safe to False explicitly.
      So setuptools will install package to a real directory instead of a
      zipped .egg file.
      Signed-off-by: NHao Liu <hliu@redhat.com>
      43d64f26
  3. 03 9月, 2015 1 次提交
    • C
      Selftests: allow tests to be run with "setup.py test" · 333e439b
      Cleber Rosa 提交于
      One standard setuptools command is "test". That command does some useful
      setup and then runs the test in a verbose mode.
      
      There are a couple of reasons for activating that, including that
      setuptools can help us support a Python 3 version of Avocado by
      running 2to3 and even custom fixers before running the tests, or even
      builds and installs.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      333e439b
  4. 07 7月, 2015 1 次提交
  5. 13 6月, 2015 1 次提交
  6. 11 6月, 2015 1 次提交
  7. 09 6月, 2015 2 次提交
  8. 26 5月, 2015 1 次提交
  9. 19 5月, 2015 1 次提交
  10. 12 5月, 2015 1 次提交
  11. 06 5月, 2015 3 次提交
  12. 22 4月, 2015 1 次提交
  13. 14 4月, 2015 1 次提交
    • C
      sysinfo: replace hard coded commands and files for configurable files · 0a6dc703
      Cleber Rosa 提交于
      This change adds flexibility to the current sysinfo implementation in
      the sense that the commands to be executed and files to be collected
      are no longer hard coded, but configurable.
      
      The configuration file gains a section for that, and the files
      themselves are plain text files that can be easily customized by users
      to include extra commands/files.
      
      Also, the the configuration for the profilers has been adjusted for a
      uniform look, feel and experience.
      
      Changes from v1:
       * Return the default `profiler` parameter value to None, so that it
         looks at the configuration value by default
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      0a6dc703
  14. 27 3月, 2015 1 次提交
  15. 25 3月, 2015 2 次提交
  16. 04 3月, 2015 1 次提交
  17. 27 2月, 2015 2 次提交
    • C
      rest-client: introduce `avocado-rest-client` command line application · a0aa6b70
      Cleber Rosa 提交于
      Introduce a new command line application that is designed to interact
      with avocado-server.
      
      Changes from v1:
      * Fixed reference in the docstrings to arcli (from arc)
      * Release number bump on spec file
      * Add missing avocado.restclient.cli.actions module to setup.py
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      a0aa6b70
    • C
      rest-client: add initial module namespace and response handling module · eb21a531
      Cleber Rosa 提交于
      An essential part of a client interacting with avocado-server is to handle
      the reponse of a request. The most common type of response type is a
      results reponse, when one performs a GET to a resource "root" path and
      and expects to return a list of resources.
      
      To make that more pythonic, this commit introduces a ResultResponse class
      that accepts the JSON response data and checks for completeness. If
      results response fails to comply with the required data members, meaningful
      exceptions will be raised.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      eb21a531
  18. 30 1月, 2015 1 次提交
  19. 20 1月, 2015 1 次提交
  20. 11 12月, 2014 1 次提交
    • L
      avocado.settings: Read from both system wide and user config · 9191e41d
      Lucas Meneghel Rodrigues 提交于
      Whatever is in the system wide settings can be later
      overriden by users. Also, change the settings.config_path
      attribute to settings.config_paths, and change it to
      a list. This way users can see the order in which their
      config files are parsed. Also, Introduce a system wide conf.d
      directory, that is supposed to ship config files for avocado
      plugins. The order for config parsing is:
      
       * System wide avocado config (/etc/avocado/avocado.conf)
       * System wide avocado plugins config (/etc/avocado/conf.d/*.conf)
       * Local config for the user running avocado (~/.config/avocado/avocado.conf)
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      9191e41d