diff options
author | showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> | 2010-01-12 21:59:48 +0000 |
---|---|---|
committer | showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> | 2010-01-12 21:59:48 +0000 |
commit | d27148997fe6516a020fb5388f9a71a875f788b0 (patch) | |
tree | f4e75e82b002f48dac15e6d4a58863b15f983713 /database/db_utils_unittest.py | |
parent | f3cba0d0360e7a909243d8282443bdd23e379e55 (diff) |
Merge the two databases and the two Django projects. Note that the TKO migrations are still present, as is the migration code for TKO in database/migrate.py. These pieces of code are preserved because they are required by this change to perform the merge. A separate change will be submitted in the future to remove those references.
WARNING: This change will move all tables in TKO into the AUTOTEST_WEB database. Custom TKO tables that Autotest does not know about will NOT be moved, and will be lost after this change. Any scripts that run directly against the TKO database will cease functioning until they are modified to run against AUTOTEST_WEB. Additionally, if you were importing any .py files from autotest_lib.new_tko.tko.*, they have been moved to autotest_lib.frontend.tko.*
Notes: You will need to manually create two files after applying this patch
touch <autotest_dir>/frontend/tko/__init__.py
touch <autotest_dir>/tko/migrations/__init__.py
Optionally, you can also remove the entire <autotest_dir>/new_tko/ directory, as it is no longer needed.
Signed-off-by: James Ren <jamesren@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@4106 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'database/db_utils_unittest.py')
-rwxr-xr-x | database/db_utils_unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/db_utils_unittest.py b/database/db_utils_unittest.py index f0c622c0..6c117dab 100755 --- a/database/db_utils_unittest.py +++ b/database/db_utils_unittest.py @@ -28,7 +28,7 @@ class UtilsTest(unittest.TestCase): def test_check_exists(self): views = ('view1', 'view2') def _call_check_exists(): - db_utils._check_exists(self.manager, views, 'VIEW') + db_utils._check_exists(self.manager, views, db_utils.VIEW_TYPE) self._setup_exists_expects(views, 'VIEWS') _call_check_exists() |