If so, it'd probably be better to modify the transform so that it can deal with a None-named detail column, instead of passing in mock data that leaves an inconsequential trace. If that's way beyond scope though, how about you leave a comment in the code saying why you need to pass in mock data and/or why it's hard to do otherwise, for the next person who stumbles upon it