<s> from twisted . trial . unittest import TestCase <EOL> from twisted . python import context <EOL> class ContextTest ( TestCase ) : <EOL> def testBasicContext ( self ) : <EOL> self . assertEquals ( context . get ( "<STR_LIT:x>" ) , None ) <EOL> self . assertEquals ( context . call ( { "<STR_LIT:x>" : "<STR_LIT:y>" } , context . get , "<STR_LIT:x>" ) , "<STR_LIT:y>" ) <EOL> self . assertEquals ( context . get ( "<STR_LIT:x>" ) , None ) </s>
