PyTest - Parametrize
You want to test a fixture that sets up a database connection string based on parameters. Which approach correctly uses indirect parametrization to pass different connection strings to the fixture?
indirect=True in the parametrize decorator.request and return request.param to use the passed connection strings.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions