Remove the old acl_groups_users and acl_groups_hosts many2many pivot
table column name hack.

Renames acl_group_id -> aclgroup_id.

Adds a migration script and updates the one piece of code that actually
depended upon the old name.

This is needed for my upcoming change that ports autotest to Django
1.0.x but seems worth cleaning up as a change of its own.

Signed-off-by: Gregory Smith <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2764 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/cli/user_unittest.py b/cli/user_unittest.py
index 8593f2c..d037a3d 100755
--- a/cli/user_unittest.py
+++ b/cli/user_unittest.py
@@ -88,7 +88,7 @@
 
     def test_execute_list_all_with_acl(self):
         self.run_cmd(argv=['atest', 'user', 'list', '--acl', 'acl0'],
-                     rpcs=[('get_users', {'acl_group__name__in': ['acl0']},
+                     rpcs=[('get_users', {'aclgroup__name__in': ['acl0']},
                             True,
                             [{u'access_level': 2,
                               u'login': u'user0',
@@ -140,7 +140,7 @@
 
     def test_execute_list_all_with_acl_verbose(self):
         self.run_cmd(argv=['atest', 'user', 'list', '--acl', 'acl0', '-v'],
-                     rpcs=[('get_users', {'acl_group__name__in': ['acl0']},
+                     rpcs=[('get_users', {'aclgroup__name__in': ['acl0']},
                             True,
                             [{u'access_level': 2,
                               u'login': u'user0',