<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import , print_function <EOL> import os <EOL> import tempfile <EOL> import mock <EOL> import util <EOL> import util . awe <EOL> import test . common as tc <EOL> @ mock . patch ( '<STR_LIT>' , tempfile . mkdtemp ( ) ) <EOL> def test_parse_clean_all ( mock_print ) : <EOL> try : <EOL> paths = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> tc . touch_files ( util . ROOT , paths ) <EOL> util . awe . main ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> assert sorted ( os . listdir ( util . ROOT ) ) == [ '<STR_LIT>' , '<STR_LIT:test>' , '<STR_LIT>' ] <EOL> assert os . listdir ( os . path . join ( util . ROOT , '<STR_LIT>' ) ) == [ '<STR_LIT>' ] <EOL> assert os . listdir ( os . path . join ( util . ROOT , '<STR_LIT:test>' ) ) == [ ] <EOL> assert os . listdir ( os . path . join ( util . ROOT , '<STR_LIT>' ) ) == [ ] <EOL> assert mock_print . called <EOL> finally : <EOL> util . delete_it ( util . ROOT ) </s>
