1. 16 8月, 2017 1 次提交
  2. 15 8月, 2017 13 次提交
  3. 14 8月, 2017 13 次提交
  4. 11 8月, 2017 5 次提交
  5. 10 8月, 2017 3 次提交
  6. 09 8月, 2017 1 次提交
  7. 07 8月, 2017 1 次提交
    • L
      test: Remove unnecessary LazyProperty from Test class · f5ae8ed8
      Lukáš Doktor 提交于
      Most of the LazyProperty variables in Test are actually always read on
      "get_state" and other occasions so it does not make sense to set it
      Lazily.
      
      Also protect the remaining lazily initialized property from overriding
      by using @property instead of our custom LazyProperty, which is not
      really a property.
      
      This commit requires some adjustments to nasty example tests which used
      to override self.srcdir, which is not allowed (and restricted since this
      commit).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      f5ae8ed8
  8. 06 8月, 2017 3 次提交
    • L
      test: Store fail_reason only as string · ea6deb1c
      Lukáš Doktor 提交于
      The fail_reason is the instance of the actual exception. We do store it
      only as string in case of old-type exception, but even new style
      exceptions might be not available when sys.path is different causing
      unpickle on runner part impossible.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      ea6deb1c
    • L
      optional_plugins: Support for any test loader for yaml_to_mux_loader · e99f45e1
      Lukáš Doktor 提交于
      Use the new ability to report full mappings after the discovery and
      allow using `test_reference_resolver_class` to specify the resolver
      class intended for test discovery.
      
      To allow sufficient flexibility also support
      `test_reference_resolver_args` to override resolver arguments and
      `test_reference_resolver_extra` to extend the resolver extra_params.
      
      Note the overridden arguments apply only to the resolver, not to whole
      Avocado so it's not possible to override wrappers or such just for a
      single test execution. Anyway it is possible to set `vt_config` just for
      that single loader, which is more-than useful.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      e99f45e1
    • L
      varianter: Fix mux_path on no-variants · d2f70ef3
      Lukáš Doktor 提交于
      When no variants are provided Avocado sets the default variant, but
      instead of list of mux paths it created just string "/run", which
      processed into ["/", "r", "u", "n"]. Let's fix this by setting list.
      
      Also the proper mux_path should be `/run/*` in order to include all
      children nodes of the "/run".
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      d2f70ef3