<s> from siphon . testing import get_recorder <EOL> from siphon . cdmr . cdmremote import CDMRemote <EOL> recorder = get_recorder ( __file__ ) <EOL> class TestCDMRmote ( object ) : <EOL> '<STR_LIT>' <EOL> def setup ( self ) : <EOL> '<STR_LIT>' <EOL> self . cdmr = CDMRemote ( '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> @ recorder . use_cassette ( '<STR_LIT>' ) <EOL> def test_cdl ( self ) : <EOL> '<STR_LIT>' <EOL> s = self . cdmr . fetch_cdl ( ) <EOL> assert s <EOL> @ recorder . use_cassette ( '<STR_LIT>' ) <EOL> def test_capabilities ( self ) : <EOL> '<STR_LIT>' <EOL> s = self . cdmr . fetch_capabilities ( ) <EOL> assert s <EOL> @ recorder . use_cassette ( '<STR_LIT>' ) <EOL> def test_ncml ( self ) : <EOL> '<STR_LIT>' <EOL> s = self . cdmr . fetch_ncml ( ) <EOL> assert s <EOL> @ recorder . use_cassette ( '<STR_LIT>' ) <EOL> def test_enable_compression ( self ) : <EOL> '<STR_LIT>' <EOL> self . cdmr . deflate = <NUM_LIT:4> <EOL> d = self . cdmr . fetch_data ( latitude = [ slice ( None ) ] ) <EOL> assert d </s>
