testutils.py : backward compatibility to python 2.6

"oxms = { type(oxm): oxm for oxm in msg.match.oxm_list }" is new syntax in python 2.7.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>