new passing test of sending a message
This commit is contained in:
parent
b008a0d3e1
commit
7023ce2b7a
@ -78,7 +78,16 @@ if __name__ == '__main__':
|
||||
# First the invites api gets some basic tests
|
||||
worker.get('/invite/create')
|
||||
|
||||
worker.post('/channels/create', name='something random', kind=1)
|
||||
# Channels things
|
||||
VOICE_CHANNEL = 1
|
||||
TEXT_CHANNEL = 2
|
||||
|
||||
worker.post('/channels/create', name='something random', kind=TEXT_CHANNEL)
|
||||
worker.get('/channels/list')
|
||||
worker.delete('/channels/delete', name='something random')
|
||||
worker.get('/channels/list')
|
||||
|
||||
# Messaging
|
||||
|
||||
worker.post('/channels/create', name='send-channel', kind=TEXT_CHANNEL)
|
||||
worker.post('/message/send', channel='send-channel', content="some random content")
|
||||
|
Loading…
Reference in New Issue
Block a user