Fix public
Add guest alternative Write some doc
This commit is contained in:
parent
eabca3e7bf
commit
ae6ee7e7a0
4 changed files with 94 additions and 16 deletions
14
testing.py
14
testing.py
|
|
@ -149,7 +149,7 @@ def save_response(response):
|
|||
# }))
|
||||
|
||||
# save_response(API.run_job('post.listall'))
|
||||
# save_response(API.run_job('post.listpublic'))
|
||||
save_response(API.run_job('post.listpublic'))
|
||||
|
||||
# from trustcafeapiwrapper.wrappers.post.create_post import create_post
|
||||
|
||||
|
|
@ -199,9 +199,9 @@ def save_response(response):
|
|||
# "/user/bossman"
|
||||
# )))
|
||||
|
||||
from trustcafeapiwrapper.wrappers.post.update_post import update_post
|
||||
save_response(API.wrapped(update_post(
|
||||
post_text="This is an updated version of the test post created via the create_post wrapper function.",
|
||||
post_path="/post/1775143460-ef45186a",
|
||||
parent_path="/",
|
||||
)))
|
||||
# from trustcafeapiwrapper.wrappers.post.update_post import update_post
|
||||
# save_response(API.wrapped(update_post(
|
||||
# post_text="This is an updated version of the test post created via the create_post wrapper function.",
|
||||
# post_path="/post/1775143460-ef45186a",
|
||||
# parent_path="/",
|
||||
# )))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue