I think it's better 
     Assert.not_none(data['device_types'], 'insufficient data added device_types')