<s> import os <EOL> from metakernel . tests . utils import ( get_kernel , get_log_text , <EOL> clear_log_text ) <EOL> def test_ls_magic ( ) : <EOL> kernel = get_kernel ( ) <EOL> kernel . do_execute ( "<STR_LIT>" ) <EOL> text = get_log_text ( kernel ) <EOL> assert '<STR_LIT>' in text , text [ : <NUM_LIT:100> ] <EOL> clear_log_text ( kernel ) <EOL> kernel . do_execute ( "<STR_LIT>" ) <EOL> text = get_log_text ( kernel ) <EOL> assert '<STR_LIT>' in text , text [ : <NUM_LIT:100> ] <EOL> clear_log_text ( kernel ) </s>
