Move test lib/devicetree/api to use new ztest API. Signed-off-by: li biao <biao1x.li@intel.com>
This is preparation for an additional test suite specifically for the legacy API which will be added next. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>