<s> import unittest <EOL> class RedisTestCase ( unittest . TestCase ) : <EOL> def test_parse_version ( self ) : <EOL> from fabtools . require . redis import _parse_version <EOL> self . assertEqual ( <EOL> _parse_version ( '<STR_LIT>' ) , <EOL> ( <NUM_LIT:2> , <NUM_LIT:6> , <NUM_LIT> ) <EOL> ) <EOL> def test_old_download_url ( self ) : <EOL> from fabtools . require . redis import _download_url <EOL> self . assertEqual ( <EOL> _download_url ( '<STR_LIT>' ) , <EOL> '<STR_LIT>' <EOL> ) <EOL> def test_new_download_url ( self ) : <EOL> from fabtools . require . redis import _download_url <EOL> self . assertEqual ( <EOL> _download_url ( '<STR_LIT>' ) , <EOL> '<STR_LIT>' <EOL> ) </s>
