You've done the first step - defining what you want. But your definition is still quite objective. What attributes of a team can be observed when they "value quality". What is a "reasonable" effort, and how can you see whether or not they do it.
Figure out some visible outcomes from those traits, and look for them during the interview process. Ask about those topics in the interview. There is so much talk on HN about what is wrong with interviews, but when they ask you if you have questions that is the part that is right - it is your opportunity to dig into these traits that make a team great, and determine whether or not any given team matches your desires.
I recommend people break it down even farther - before you step into an interview, break those desires down in wants vs. needs. If you have a need they do not meet then the team is not for you. If you have wants they do not meet, you need to walk in accepting that it isn't perfect and either be compensated for those imperfections, or have enough authority and/or autonomy to try to invoke changes in the organization to improve it.