<s> import sys <EOL> import unittest <EOL> from test . file_fixtures import ComputeFileFixtures <EOL> class FileFixturesTests ( unittest . TestCase ) : <EOL> def test_success ( self ) : <EOL> f = ComputeFileFixtures ( '<STR_LIT>' ) <EOL> self . assertEqual ( "<STR_LIT>" , f . load ( '<STR_LIT>' ) ) <EOL> def test_failure ( self ) : <EOL> f = ComputeFileFixtures ( '<STR_LIT>' ) <EOL> self . assertRaises ( IOError , f . load , '<STR_LIT>' ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> sys . exit ( unittest . main ( ) ) </s>
