<s> import os <EOL> from subprocess import call <EOL> from videogrep import videogrep <EOL> filename = '<STR_LIT>' <EOL> def test_videogrep ( ) : <EOL> videogrep . videogrep ( '<STR_LIT>' , filename , '<STR_LIT>' , '<STR_LIT>' ) <EOL> files = os . listdir ( '<STR_LIT:.>' ) <EOL> assert filename in files <EOL> def test_cli ( ) : <EOL> command = '<STR_LIT>' <EOL> call ( command . split ( ) ) <EOL> files = os . listdir ( '<STR_LIT:.>' ) <EOL> assert '<STR_LIT>' in files <EOL> def test_cleanup ( ) : <EOL> call ( [ '<STR_LIT>' , filename ] ) <EOL> call ( [ '<STR_LIT>' , '<STR_LIT>' ] ) </s>
