pastealacon backend: Support posting

The captcha is not handled but an exception is properly raised.
This commit is contained in:
Laurent Bachelier 2011-04-14 00:36:48 +02:00 committed by Romain Bignon
commit 4dc3e56d18
4 changed files with 47 additions and 4 deletions

View file

@ -51,4 +51,7 @@ class PastealaconBackend(BaseBackend, ICapPaste):
self.browser.fill_paste(paste)
return paste
def post_paste(self, paste):
self.browser.post_paste(paste)
OBJECTS = {PastealaconPaste: fill_paste}