Exemplo n.º 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)
Exemplo n.º 3
0
 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)