Add the new function to the synthetic test
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user