Re-enabled optimize unittests. Minor fixes to create_predictable_zipline().

This commit is contained in:
Thomas Wiecki
2012-05-28 11:11:29 -04:00
parent 789338aa5f
commit 6523ff6c9b
2 changed files with 5 additions and 5 deletions
+2 -3
View File
@@ -39,7 +39,6 @@ class TestUpDown(TestCase):
'sid':133
}
@skip
@timed(DEFAULT_TIMEOUT)
def test_source_and_orders(self):
"""verify that UpDownSource is having the correct
@@ -108,8 +107,8 @@ class TestUpDown(TestCase):
self.assertTrue(np.all(min_order_idx == min_price_idx),
"Algorithm did not sell when price was going to increase."
)
@skip
def test_concavity_of_returns(self):
"""verify concave relationship between of free parameter and
returns in certain region around the max. Moreover,