Add query for nova unit test bug 1325246

This is only failing in the check queue and it's failing on network
related changes, but I'm also seeing it locally where I don't have any
changes to the Network* objects so I suspect there is a deeper issue
there causing the race fail.

Related-Bug: #1325246

Change-Id: I6270c4f4f6bd3abc4d69433da70a4093820427a2