paste* backends: Do not fill the paste after post

It's the application job to call fill_paste().
We only need to get the id.
This commit is contained in:
Laurent Bachelier 2011-04-14 22:59:02 +02:00
commit 667b8267db
4 changed files with 2 additions and 2 deletions

View file

@ -43,6 +43,7 @@ class PastebinTest(BackendTest):
p = PastebinPaste(None, title='ouiboube', contents='Weboob Test')
self.backend.post_paste(p)
assert p.id
self.backend.fill_paste(p, ['title'])
assert p.title == 'ouiboube'
assert p.id in p.page_url