microbit = codesters.Microbit()
microbit.show_string("hello")
data = microbit.get_temp()
microbit.show_number(data)
t = codesters.Teacher()
my_lists = t.find_text("my_list")
tval1 = len(my_lists)
t1 = TestObjective()
t1.add_success(tval1 == 2, "Great job!")
t1.add_failure(tval1 == 1, "Make sure to add one more Empty List!")
t1.add_failure(tval1 == 0, "Did you drag in two Empty List blocks?")
tester = TestManager()
tester.add_test_list([t1])
tester.run_tests()
tester.display_first_feedback()