def testGetLocalFrameSetChunked(self): """Test getting the local frameset.""" l = TestLayer("test2", chunk=10, range="1-20") frameset = l.getLocalFrameSet(1) self.assertEquals("1-10", str(frameset.normalize())) frameset = l.getLocalFrameSet(11) self.assertEquals("11-20", str(frameset.normalize()))
def testGetLocalFrameSetSingle(self): """Test getting the local frameset.""" l = TestLayer("test2") frameset = l.getLocalFrameSet(1) print frameset