<s> import json <EOL> from poni import tool <EOL> from helper import * <EOL> plugin_text = """<STR_LIT>""" <EOL> class TestControls ( Helper ) : <EOL> def test_basic_controls ( self ) : <EOL> poni = self . repo_and_config ( "<STR_LIT>" , "<STR_LIT>" , plugin_text ) <EOL> temp = self . temp_file ( ) <EOL> def cmd_output ( cmd , output ) : <EOL> assert not poni . run ( [ "<STR_LIT>" , "<STR_LIT:.>" , cmd , "<STR_LIT>" , temp ] ) <EOL> assert open ( temp ) . read ( ) == output <EOL> os . unlink ( temp ) <EOL> cmd_output ( "<STR_LIT:foo>" , "<STR_LIT:foo>" ) <EOL> cmd_output ( "<STR_LIT:bar>" , "<STR_LIT>" ) <EOL> cmd_output ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> cmd_output ( "<STR_LIT>" , "<STR_LIT>" ) </s>
