updated per sdiehl's advice in the PR.

This commit is contained in:
fawce
2012-03-14 15:51:44 -04:00
parent 2742ffcc47
commit 98c1312f16
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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(
+2 -2
View File
@@ -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(