Pytest: Hard-coded path
In many organizations and in many projects at one point someone has decided that it is a good idea to have a fixed central folder or central configuration file.
import json
data_file = "/corporate/fixed/path/data.json"
def do_something():
print(data_file)
#with open(data_file) as fh:
# data = json.load(fh)
# ...