<s> import unittest <EOL> import redisco <EOL> from distutils . version import LooseVersion as Version <EOL> class ConnectionTestCase ( unittest . TestCase ) : <EOL> def test_redis_version ( self ) : <EOL> self . assertTrue ( Version ( redisco . redis . __version__ ) >= '<STR_LIT:2>' ) <EOL> def test_redis_server ( self ) : <EOL> redis_server_version = redisco . connection . info ( ) [ '<STR_LIT>' ] <EOL> self . assertTrue ( Version ( redis_server_version ) > '<STR_LIT>' ) </s>
