예제 #1
0
 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()))
예제 #2
0
 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()))
예제 #3
0
 def testGetLocalFrameSetSingle(self):
     """Test getting the local frameset."""
     l = TestLayer("test2")
     frameset = l.getLocalFrameSet(1)
     print frameset
예제 #4
0
 def testGetLocalFrameSetSingle(self):
     """Test getting the local frameset."""
     l = TestLayer("test2")
     frameset = l.getLocalFrameSet(1)
     print frameset