mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-13 16:14:36 +00:00
15 lines
466 B
Python
15 lines
466 B
Python
from tests import client, app
|
|
|
|
class TestChat:
|
|
def test_api_chat(self, client):
|
|
response = client.get("/api/chat/")
|
|
assert response.status_code == 200
|
|
|
|
def test_api_chat_messages_1(self, client):
|
|
response = client.get("/api/chat/messages/1")
|
|
assert response.status_code == 200
|
|
|
|
def test_api_chat_new_message(self, client):
|
|
response = client.post("/api/chat/new_message")
|
|
assert response.status_code == 200
|