Here is an example from a project:
return (
df
.withColumnRenamed("a", "b")
)
if the code is modified to:
return self.reset(
df
.withColumnRenamed("a", "b")
)
no tests will be found for the change as DB contains no mapping info about return ( line.
Any ideas on how to fix it? Any magic pytest-cov flag maybe?