mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 05:03:26 +08:00
updated per sdiehl's advice in the PR.
This commit is contained in:
@@ -340,8 +340,8 @@ class FinanceTestCase(TestCase):
|
||||
self.assertEqual(
|
||||
transaction_sim.txn_count,
|
||||
perf_tracker.txn_count,
|
||||
"The perf tracker should handle the same number of transactions as\
|
||||
as the simulator emits."
|
||||
"The perf tracker should handle the same number of transactions \
|
||||
as the simulator emits."
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
|
||||
@@ -37,8 +37,8 @@ class PerformanceTestCase(unittest.TestCase):
|
||||
|
||||
def test_long_position(self):
|
||||
"""
|
||||
verify that the performance period calculates properly for a \
|
||||
single buy transaction
|
||||
verify that the performance period calculates properly for a
|
||||
single buy transaction
|
||||
"""
|
||||
#post some trades in the market
|
||||
trades = factory.create_trade_history(
|
||||
|
||||
Reference in New Issue
Block a user