Python Testing with pytest: "using multiple fixture levels"

The way I have this formatted it is page 80. But when discussing the content of ch3/b/conftest.py you say:

“the cards_db fixture has cards_db named in its parameter list, which means it depends on the other fixture. ”

I believe what you meant to say is:

“The cards_db fixture has db named in its parameter list which means it depends on the other fixture”.

I am enjoying the book a great deal. I like that it is done via the command line which eliminates a lot of futzing with IDEs (although I do like them as well, just not when learning about pytest)

1 Like

You are correct. Thank you.
A couple sentences wrong in there. The proper text should be:

The cards_db fixture has db named in its parameter list, which means it depends on the db fixture. Also, cards_db is function scoped, which is a more narrow scope than db.