stage.set_background("moon")
sprite = codesters.Sprite("astronaut1")
sprite.go_to(-125, -150)
glorp = codesters.Sprite("alien1")
glorp.go_to(100, -125)
rock = codesters.Sprite("asteroid")
rock.go_to(100, 75)
t = codesters.Teacher()
try:
tval1 = sprite.get_say_text().lower().replace(' ', '')
except:
tval1 = "DNE"
t1 = TestObjective()
t1.add_success("planetsread" in tval1, "Great Job!")
t1.add_failure(tval1 == "DNE", "Did you add a say command?")
t1.add_failure('iamasprite' in tval1, "Did you change the text in your say command?")
tester = TestManager()
tester.add_test_list([t1])
tester.run_tests()
tester.display_first_feedback()