def test_match_incoming_bid_without_a_match(self):
     ob.create_ask(12, 1, next_year)
     their_bid = ob.create_bid(11, 1, next_year)
     their_bid["id"] = 1234
     matching_ask = ob.match_incoming_bid(their_bid)
     assert_is_none(matching_ask)
 def test_match_incoming_bid_without_a_match(self):
     ob.create_ask(12, 1, next_year)
     their_bid = ob.create_bid(11, 1, next_year)
     their_bid['id'] = 1234
     matching_ask = ob.match_incoming_bid(their_bid)
     assert_is_none(matching_ask)
 def test_match_incoming_bid(self):
     own_ask = ob.create_ask(11, 1, next_year)
     their_bid = ob.create_bid(12, 1, next_year)
     their_bid["id"] = 1234
     matching_ask = ob.match_incoming_bid(their_bid)
     assert_is(matching_ask, own_ask)
 def test_match_incoming_bid(self):
     own_ask = ob.create_ask(11, 1, next_year)
     their_bid = ob.create_bid(12, 1, next_year)
     their_bid['id'] = 1234
     matching_ask = ob.match_incoming_bid(their_bid)
     assert_is(matching_ask, own_ask)