<s> from django . test import TestCase <EOL> from . . analyzers . base import Result , CodeSnippet <EOL> class ResultTests ( TestCase ) : <EOL> def test_init ( self ) : <EOL> result = Result ( '<STR_LIT>' , '<STR_LIT>' , <NUM_LIT:2> ) <EOL> self . assertEqual ( result . description , '<STR_LIT>' ) <EOL> self . assertEqual ( result . path , '<STR_LIT>' ) <EOL> self . assertEqual ( result . line , <NUM_LIT:2> ) <EOL> self . assertIsInstance ( result . source , CodeSnippet ) <EOL> self . assertIsInstance ( result . solution , CodeSnippet ) </s>
