Code review comment for lp:~cbehrens/nova/servers-search

Revision history for this message
Chris Behrens (cbehrens) wrote :

bcwaldon: Issue is this:

[15:51:38] <comstud> 1173 self.assertEqual(search_opts['state'],
[15:51:39] <comstud> 1174 [power_state.RUNNING,
                     power_state.BLOCKED])

The list is in reverse order in your test and I'm assuming order here. I've just wrapped those lists with set() so it does a set comparison. Try now. :)

« Back to merge proposal