Created a test script for creating pastee docs and moved it to modules folder

This commit is contained in:
Kevin Midboe
2017-03-21 13:26:33 +01:00
parent 265c5504c6
commit 869ffa6534

16
modules/createPasteee.py Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Author: KevinMidboe
# @Date: 2017-02-23 21:41:40
# @Last Modified by: KevinMidboe
# @Last Modified time: 2017-03-05 19:35:10
from pasteee import Paste
def createPasteee():
paste = Paste('Test pastee', views=10)
print(paste)
print(paste['raw'])
if __name__ == '__main__':
createPasteee()