@@ -244,16 +244,17 @@ def test_keyword(self):
244
244
name = 'Setup' , lineno = 1 )
245
245
246
246
def test_for (self ):
247
- self ._verify (For (), type = 'FOR' , variables = [], flavor = 'IN' , values = [])
248
- self ._verify (For (['${i}' ], 'IN RANGE' , ['10' ], lineno = 2 ), type = 'FOR' ,
249
- variables = ['${i}' ], flavor = 'IN RANGE' , values = ['10' ], lineno = 2 )
247
+ self ._verify (For (), type = 'FOR' , variables = [], flavor = 'IN' , values = [], body = [])
248
+ self ._verify (For (['${i}' ], 'IN RANGE' , ['10' ], lineno = 2 ),
249
+ type = 'FOR' , variables = ['${i}' ], flavor = 'IN RANGE' , values = ['10' ],
250
+ body = [], lineno = 2 )
250
251
251
252
def test_while (self ):
252
- self ._verify (While (), type = 'WHILE' , condition = None )
253
+ self ._verify (While (), type = 'WHILE' , body = [] )
253
254
self ._verify (While ('1 > 0' , '1 min' ),
254
- type = 'WHILE' , condition = '1 > 0' , limit = '1 min' )
255
+ type = 'WHILE' , condition = '1 > 0' , limit = '1 min' , body = [] )
255
256
self ._verify (While ('True' , lineno = 3 , error = 'x' ),
256
- type = 'WHILE' , condition = 'True' , lineno = 3 , error = 'x' )
257
+ type = 'WHILE' , condition = 'True' , body = [], lineno = 3 , error = 'x' )
257
258
258
259
def test_if (self ):
259
260
self ._verify (If (), type = 'IF/ELSE ROOT' , body = [])
0 commit comments