Skip to content

Commit

Permalink
TST: updated test to the fact that we aren't creating new lists to store
Browse files Browse the repository at this point in the history
orders
  • Loading branch information
dalejung authored and Eddie Hebert committed Feb 27, 2015
1 parent 69815d1 commit 29aab77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_finance.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def transaction_sim(self, **params):
oo = blotter.open_orders
self.assertEqual(len(oo), 1)
self.assertTrue(sid in oo)
order_list = oo[sid]
order_list = oo[sid][:] # make copy
self.assertEqual(order_count, len(order_list))

for i in range(order_count):
Expand Down

0 comments on commit 29aab77

Please sign in to comment.