ManifoldMarketManager.test.test_market

ManifoldMarketManager.test.test_market.assert_equality(mkt1: Market, mkt2: Market) None[source]

Ensure that two markets are referring to the same underlying system.

ManifoldMarketManager.test.test_market.test_from_id(mkt: Market) None[source]

Make sure Markets can be grabbed by ID.

ManifoldMarketManager.test.test_market.test_from_url(mkt: Market) None[source]

Make sure Markets can be grabbed by URL.

ManifoldMarketManager.test.test_market.test_get_state(mkt: Market) None[source]

Make sure that we are not divulging secrets.

ManifoldMarketManager.test.test_market.test_pickling(mkt: Market) None[source]

Make sure Markets can be dumped to disk and reloaded.

ManifoldMarketManager.test.test_market.test_repr(mkt: Market) None[source]

Make sure that repr does not error on common cases.