0

Add the new function to the synthetic test

This commit is contained in:
Patrick-Emmanuel Boulanger-Nadeau
2014-01-20 16:04:11 -05:00
parent 8458451044
commit 2b2d929659

View File

@@ -1,3 +1,4 @@
M
import unittest
import tempfile
import shutil
@@ -53,6 +54,10 @@ class FakeRegionset(object):
for (x,z),mtime in self.chunks.iteritems():
yield x,z,mtime
def iterate_newer_chunks(self, filemtime):
for (x,z),mtime in self.chunks.iteritems():
yield x,z,mtime
def get_chunk_mtime(self, x, z):
try:
return self.chunks[x,z]