<s> from django . test import TestCase <EOL> from ui . voyager import get_open_library_item_title <EOL> class OpenLibraryTitleTest ( TestCase ) : <EOL> def test_correct_title ( self ) : <EOL> "<STR_LIT>" <EOL> title = "<STR_LIT>" <EOL> open_library_link = "<STR_LIT>" <EOL> open_library_title = get_open_library_item_title ( open_library_link ) <EOL> self . assertEqual ( title [ <NUM_LIT:0> : <NUM_LIT:10> ] , open_library_title [ <NUM_LIT:0> : <NUM_LIT:10> ] ) <EOL> def test_incorrect_title ( self ) : <EOL> "<STR_LIT>" <EOL> title = "<STR_LIT>" <EOL> open_library_link = "<STR_LIT>" <EOL> open_library_title = get_open_library_item_title ( open_library_link ) <EOL> self . assertNotEqual ( title [ <NUM_LIT:0> : <NUM_LIT:10> ] , open_library_title [ <NUM_LIT:0> : <NUM_LIT:10> ] ) </s>
