Fix HACKING compliance of test_network_basic_ops.

 * Updated to ensure that only modules were imported.

Change-Id: Ia87e8468d09f0e01bbcf9ede2f99895f49949bc6