<s> import config <EOL> import unittest <EOL> from kyototycoon import KyotoTycoon <EOL> class UnitTest ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . kt_handle = KyotoTycoon ( ) <EOL> self . kt_handle . open ( ) <EOL> def test_tsv_rpc ( self ) : <EOL> key = '<STR_LIT>' <EOL> value = '<STR_LIT>' <EOL> self . assertTrue ( self . kt_handle . clear ( ) ) <EOL> self . assertEqual ( self . kt_handle . increment ( key , <NUM_LIT> ) , <NUM_LIT> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
