<s> from unittest import TestCase <EOL> from cpa . profiling import preprocessing <EOL> class NullPreprocessorTestCase ( TestCase ) : <EOL> def test_init ( self ) : <EOL> variables = [ '<STR_LIT:foo>' , '<STR_LIT:bar>' , '<STR_LIT>' ] <EOL> p = preprocessing . NullPreprocessor ( variables ) <EOL> assert isinstance ( p , preprocessing . Preprocessor ) <EOL> assert p . variables == variables <EOL> def test_call ( self ) : <EOL> data = object ( ) <EOL> p = preprocessing . NullPreprocessor ( [ ] ) <EOL> assert p ( data ) == data </s>
