1. 01 5月, 2014 2 次提交
  2. 19 12月, 2013 1 次提交
    • C
      virt: change test entry point method name · 6124219f
      Cleber Rosa 提交于
      There's no need to have the name of the "run_<name>" method (main
      test entry point) depend on the test name. So, for simplicity sake,
      let's just name the test entry point "run".
      
      I have decided to not fallback gracefully to the previous naming
      convention as I believe this can lead to confusion in the future.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      6124219f
  3. 21 11月, 2013 1 次提交
  4. 01 11月, 2013 1 次提交
  5. 10 9月, 2013 1 次提交
  6. 09 9月, 2013 2 次提交
  7. 13 8月, 2013 1 次提交
    • F
      qemu.tests.floppy: Fix issue 'NoneType' object has no attribute 'create' · 80ad86bc
      Feng Yang 提交于
      When fail to get vm from env file, we will meet following issue:
      Traceback (most recent call last):
        File "/root/ypu/autotest_upstream_master/client/shared/test.py", line 426, in _exec
          _call_test_function(self.execute, *p_args, **p_dargs)
        File "/root/ypu/autotest_upstream_master/client/shared/test.py", line 853, in _call_test_function
          raise error.UnhandledTestFail(e)
      UnhandledTestFail: Unhandled AttributeError: 'NoneType' object has no attribute 'create'    [context: Boot up guest with a floppy]
      Traceback (most recent call last):
        File "/root/ypu/autotest_upstream_master/client/shared/test.py", line 846, in _call_test_function
          return func(*args, **dargs)
        File "/root/ypu/autotest_upstream_master/client/shared/test.py", line 299, in execute
          postprocess_profiled_run, args, dargs)
        File "/root/ypu/autotest_upstream_master/client/shared/test.py", line 216, in _call_run_once
          *args, **dargs)
        File "/root/ypu/autotest_upstream_master/client/shared/test.py", line 322, in run_once_profiling
          self.run_once(*args, **dargs)
        File "/root/ypu/autotest_upstream_master/client/tests/virt/virt.py", line 133, in run_once
          run_func(self, params, env)
        File "/root/ypu/autotest_upstream_master/client/shared/error.py", line 138, in new_fn
          return fn(*args, **kwargs)
        File "/root/ypu/autotest_upstream_master/client/tests/virt/qemu/tests/floppy.py", line 33, in run_floppy
          vm.create()
      AttributeError: 'NoneType' object has no attribute 'create'
      
      Call env_process.preprocess_vm(test, params, env, vm_name) to create vm could skip this issue.
      Signed-off-by: NFeng Yang <fyang@redhat.com>
      80ad86bc
  8. 08 5月, 2013 1 次提交
  9. 04 4月, 2013 2 次提交
    • J
      virt: Adds multihost migration test for floppy · d508feb0
      Jiří Župka 提交于
      Signed-off-by: NJiří Župka <jzupka@redhat.com>
      d508feb0
    • L
      qemu.tests: Use params[] for required params · a9f0d2c5
      Lukáš Doktor 提交于
      This patch benefits from the better error message when key is missing
      in config params. Instead of custom handling of missing param it
      uses params[] directly.
      
      I modified those params, where I was 100% certain that they are
      required and doesn't have default value:
       * val = params.get(..) followed by if not val: raise...
       * int(params.get(...))
       * params.get(...).split()
       * commands which require string (eg. session.cmd(params.get(...)))
      
      I didn't test all the tests before and after in order to verify
      possible typos but I used pylint before and after, watching for
      new errors (code rate before and after).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      a9f0d2c5
  10. 29 12月, 2012 1 次提交
  11. 25 12月, 2012 1 次提交
  12. 14 12月, 2012 1 次提交
  13. 07 9月, 2012 1 次提交