File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
tests/functional/cloudsearch Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,14 @@ def test_flattened(self):
4141 cmdline += ' --type int'
4242 cmdline += ' --default-value 10'
4343 cmdline += ' --search-enabled false'
44+ cmdline += ' --source-field fieldname123'
4445 result = {
4546 'DomainName' : 'abc123' ,
4647 'IndexField' : {'IndexFieldName' : 'foo' ,
4748 'IndexFieldType' : 'int' ,
4849 'IntOptions' : {'DefaultValue' : 10 ,
49- 'SearchEnabled' : False }}}
50+ 'SearchEnabled' : False ,
51+ 'SourceField' : 'fieldname123' }}}
5052 self .assert_params_for_cmd (cmdline , result )
5153
5254 def test_latlon (self ):
@@ -56,11 +58,12 @@ def test_latlon(self):
5658 cmdline += ' --type latlon'
5759 cmdline += ' --default-value 10'
5860 cmdline += ' --search-enabled false'
61+ cmdline += ' --source-field fieldname123'
5962 result = {
6063 'DomainName' : 'abc123' ,
6164 'IndexField' : {
6265 'IndexFieldName' : 'foo' ,
6366 'IndexFieldType' : 'latlon' ,
6467 'LatLonOptions' : {
65- 'DefaultValue' : '10' , 'SearchEnabled' : False }}}
68+ 'DefaultValue' : '10' , 'SearchEnabled' : False , 'SourceField' : 'fieldname123' }}}
6669 self .assert_params_for_cmd (cmdline , result )
You can’t perform that action at this time.
0 commit comments