Begin writing live tests
This commit is contained in:
12
core/tests/trading/test_live.py
Normal file
12
core/tests/trading/test_live.py
Normal 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)
|
||||
Reference in New Issue
Block a user