def DiffOpenMethodBehavior(self, method_name, path, mode, data,
                                                         method_returns_data=True):
        with open(path, mode) as real_fh:
            with self.fake_open(path, mode) as fake_fh:
                return self._CompareBehaviors(method_name, data, real_fh, fake_fh,
                                                                            method_returns_data)
Finds the template with the given name
dataset/ETHPy150Open jmcgeheeiv/pyfakefs/fake_filesystem_vs_real_test.py/FakeFilesystemVsRealTest.DiffOpenMethodBehavior--crossover with--dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/environment/cloud/compute.py/find_template_by_name