pastebin backend: Use a default expiration of one month
I don't want to clog pastebin's database with my unit tests!
This commit is contained in:
parent
ae52f23ea8
commit
1f571a9dc9
2 changed files with 2 additions and 0 deletions
|
|
@ -44,4 +44,5 @@ class PostPage(BasePage):
|
|||
self.browser.select_form(name='myform')
|
||||
self.browser['paste_code'] = paste.contents.encode(self.browser.ENCODING)
|
||||
self.browser['paste_name'] = paste.title.encode(self.browser.ENCODING)
|
||||
self.browser['paste_expire_date'] = ['1M']
|
||||
self.browser.submit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue