Skip to content

Commit

Permalink
Fix chat
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Jun 26, 2024
1 parent 5862dae commit 39622c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_trade_pipeline.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from datetime import datetime
from decimal import Decimal

from unittest.mock import patch
from decouple import config
from django.contrib.auth.models import User
from django.urls import reverse

from api.models import Currency, Order
from api.tasks import cache_market
from api.tasks import cache_market, send_notification
from django.contrib.admin.sites import AdminSite
from control.models import BalanceLog
from control.tasks import compute_node_balance, do_accounting
Expand Down Expand Up @@ -953,6 +953,7 @@ def test_escrow_locked_expires(self):

self.assert_order_logs(data["id"])

@patch("api.tasks.send_notification.delay", send_notification)
def test_chat(self):
"""
Tests the chatting REST functionality
Expand Down

0 comments on commit 39622c5

Please sign in to comment.