microbit = codesters.Microbit()
microbit.show_string("hello")
stage.set_background("soccerfield")
sprite = codesters.Sprite("athlete2")
sprite.move_down(150)
t = codesters.Teacher()
try:
block = t.find_block("def")
tval1 = block[0][1]
except:
tval1 = "DNE"
t1 = TestObjective()
t1.add_success(tval1 == "def button_a():", "Great job!")
t1.add_failure(tval1 == "DNE", "Did you add the A Button Press event?")
t1.add_failure(tval1 == None, "Did you add the A Button Press event?")
tester = TestManager()
tester.add_test_list([t1])
tester.run_tests()
tester.display_first_feedback()