Begin writing live tests

This commit is contained in:
2023-01-01 21:52:43 +00:00
parent b2361bda77
commit 46aaff43c0
3 changed files with 101 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
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)