@@ -75,7 +75,7 @@ def test_query_builder(self):
75
75
self .assertRaises (ValueError , self .s .query_builder , paths_rows = '003,004,010' )
76
76
77
77
# full example
78
- expected_string = ('acquisitionDate:[2014-01-01+TO+2014-11-12]+AND+cloudCoverFull :[10+TO+28]+AND+upperLeftCo'
78
+ expected_string = ('acquisitionDate:[2014-01-01+TO+2014-11-12]+AND+cloud_coverage :[10+TO+28]+AND+upperLeftCo'
79
79
'rnerLatitude:[23+TO+1000]+AND+lowerRightCornerLatitude:[-1000+TO+23]+AND+lowerLeftCorner'
80
80
'Longitude:[-1000+TO+21]+AND+upperRightCornerLongitude:[21+TO+1000]+AND+((path:003+AND+ro'
81
81
'w:004))' )
@@ -99,19 +99,19 @@ def test_lat_lon_builder(self):
99
99
def test_cloud_cover_prct_range_builder (self ):
100
100
# no input
101
101
string = self .s .cloud_cover_prct_range_builder ()
102
- self .assertEqual ('cloudCoverFull :[0+TO+100]' , string )
102
+ self .assertEqual ('cloud_coverage :[0+TO+100]' , string )
103
103
104
104
# just min
105
105
string = self .s .cloud_cover_prct_range_builder (3 )
106
- self .assertEqual ('cloudCoverFull :[3+TO+100]' , string )
106
+ self .assertEqual ('cloud_coverage :[3+TO+100]' , string )
107
107
108
108
# just max
109
109
string = self .s .cloud_cover_prct_range_builder (max = 30 )
110
- self .assertEqual ('cloudCoverFull :[0+TO+30]' , string )
110
+ self .assertEqual ('cloud_coverage :[0+TO+30]' , string )
111
111
112
112
# both inputs
113
113
string = self .s .cloud_cover_prct_range_builder (7 , 10 )
114
- self .assertEqual ('cloudCoverFull :[7+TO+10]' , string )
114
+ self .assertEqual ('cloud_coverage :[7+TO+10]' , string )
115
115
116
116
def test_date_range_builder (self ):
117
117
string = self .s .date_range_builder ('2014-01-01' , '2015-01-01' )
0 commit comments