Exemplo n.º 1
0
    def setUp(self):
        super(PostableTest, self).setUp()

        self.userdata = {"objectType": "person", "id": "acct:[email protected]"}
        self.collectiondata = {"objectType": "collection", "id": "http://activityschema.org/collection/public"}

        self.testuser = self.pump.Person().unserialize(self.userdata)
        self.testcollection = self.pump.Collection().unserialize(self.collectiondata)

        self.postable = Postable()
        self.postable._pump = self.pump