adds the device names in to a list (data['device_types']) if the mock_app.device_type[1] true


mock_app.device_type = [('firefoxos', True), ('desktop', False), ('android-mobile', False), ('android-tablet', False)]

so it will only add ['firefoxos'] to data['device_types']