def test_buy_lookback_high_low_contract(self): proposal = tu.proposal_lookback(self.symbol, "LBHIGHLOW") expected_longcode = 'Win USD 1 times {}\'s high minus low over the next 1 minute.' \ .format(self.symbol_name) self.assert_longcode(proposal, expected_longcode)
def test_buy_lookback_close_low_contract(self): proposal = tu.proposal_lookback(self.symbol, "LBFLOATCALL") expected_longcode = 'Win USD 1 times {}\'s close minus low over the next 1 minute.' \ .format(self.symbol_name) self.assert_longcode(proposal, expected_longcode)