Exemplo n.º 1
0
    def setUp(self):
        self.bot = MockBot.create()

        # fake Bitly.setup for testing:
        self.plug = Bitly()
        self.plug.excludes = []
        self.plug.api = MockBitly()