Пример #1
0
 def __init__(self):
     super(SetFixtureUnderTest2, self).__init__([
         MockCollection(1, "one"),
         MockCollection(1, "two"),
         MockCollection(1, "two"),
         Some(),
     ])
Пример #2
0
 def query(self):
      return [MockCollection(1, "one"),
              MockCollection(1, "two"),
              MockCollection(2, "two")
              ]
 def query(self):
     result = []
     result.append(self.makeMap(1, "one"))
     result.append(MockCollection(1, "two"))
     result.append(self.makeMap(2, "two"))
     return result