예제 #1
0
    def testGetByCampaign(self):
        loader = Placement(PlacementTest.conn)
        placements = loader.find_by_campaign(522549)

        for placement in placements:
            print placement
            assert placement['placement_id'] > 0
예제 #2
0
    def testGet(self):
        loader = Placement(PlacementTest.conn)
        placements = loader.find()

        for placement in placements:
            assert placement['placement_id'] > 0