cyclus/cycamore — pull request #68 by katyhuff (2012-08-22 13:42:41+00:00)
Title: The GreedyMarket needs to be registered in the test 

The GreedyMarket needs to be registered in the test in order to find itself in the marketForCommod function call. The registration wasn't happening in the test (because init is never called), so the test fails after the cyclus pull request https://github.com/cyclus/cyclus/pull/341.

When I added the MarketID to the Transaction table in the core, the marketForCommod function is now called during the GreedyMarketTest and the test fails with a CycMarketlessCommodException. To fix the test, I made sure the greedy market being tested was registered just as it would be in the simulation.