def setUp(self): self.db = connect('mongoltest') class Blog(Document): title = Property() tags = ListProperty() author = DictProperty() self.Blog = Blog
def setUp(self): self.db = connect("mongoltest")