fisk/core/tests/trading/test_live.py

13 lines
346 B
Python

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)