fisk/core/tests/trading/test_live.py

13 lines
346 B
Python
Raw Normal View History

2023-01-01 21:52:43 +00:00
from django.test import TestCase
from core.tests.helpers import ElasticMock, LiveBase
class LiveTradingTestCase(ElasticMock, LiveBase, TestCase):
def test_account_functional(self):
"""
Test that the account is functional.
"""
balance = self.account.client.get_balance()
self.assertTrue(balance > 0)