integration_tests icon indicating copy to clipboard operation
integration_tests copied to clipboard

appliance doesn't really work with uncollectif

Open jkrocil opened this issue 7 years ago • 3 comments

appliance doesn't really work with uncollectif, because it's a fixture (unlike provider, which is an object directly provided by testgen). My bad. We have to fix this though, if we want to eventually get rid of pulling stuff from various places. Right now, we check appliance version / stream through:

  • appliance_is_downstream from utils.version
  • current_appliance from utils.appliance
  • current_appliance from fixtures.pytest_store.store

All of that is wrong. We need to have appliance available the same way provider is available, if possible.

jkrocil avatar Aug 22 '17 15:08 jkrocil

@mfalesni @psav ^

jkrocil avatar Aug 22 '17 15:08 jkrocil

pytest could support some sort of "global parameters" which would get defined on the start of the pytest process before collection. Those then could be static like parameters.

mfalesni avatar Aug 22 '17 16:08 mfalesni

i believe this was resolvable using the application plugin object which also provides the application fixture

RonnyPfannschmidt avatar Apr 02 '20 21:04 RonnyPfannschmidt