from otree.api import Currency as c, currency_range from . import pages from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): yield ( pages.survey, {'choice_2': 'Up to 10 Euros with a deduction of 10 cents every 10 seconds', 'choice_4': 'Up to 10 Euros with a deduction of 10 cents every 10 seconds', 'choice_6': 'Up to 10 Euros with a deduction of 10 cents every 10 seconds', 'choice_8': 'Up to 10 Euros with a deduction of 10 cents every 10 seconds', 'choice_10': 'Up to 10 Euros with a deduction of 10 cents every 10 seconds'}, ) for value in [self.player.choice_2, self.player.payoff]: assert value != None