'update_index only applies to indexes specified with --using'

@patch(u'haystack.management.commands.update_index.Command.update_backend')
def test_update_index_using(self, m):

    call_command(u'update_index', verbosity=0, using=[u'eng', u'fra'])
    m.assert_any_call(u'core', u'eng')
    m.assert_any_call(u'core', u'fra')
    self.assertTrue((call(u'core', u'default') not in m.call_args_list), u'update_index    should    have    been    restricted    to    the    index    specified    with    --using')
