Exemple #1
0
 def _compare(self, orig, new):
     tmpfile = makeTempFile(orig)
     origconf = FileSystem(tmpfile.name)
     newfile = makeTempFile(new)
     newconf = FileSystem(newfile.name)
     return origconf.compare(newconf)
 def _compare(self, orig, new):
     tmpfile = makeTempFile(orig)
     origconf = FileSystem(tmpfile.name)
     newfile = makeTempFile(new)
     newconf = FileSystem(newfile.name)
     return origconf.compare(newconf)
 def _compare(self, orig, new):
     tmpfile = makeTempFile(textwrap.dedent(orig))
     origconf = FileSystem(tmpfile.name)
     newfile = makeTempFile(textwrap.dedent(new))
     newconf = FileSystem(newfile.name)
     return origconf.compare(newconf)