mock_open python example. There are any references about mock_open python example in here. you can look below.