1. 06 6月, 2013 1 次提交
  2. 09 5月, 2013 6 次提交
  3. 04 4月, 2013 1 次提交
    • 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
  4. 25 12月, 2012 2 次提交
  5. 07 9月, 2012 2 次提交