diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index 8580e36d1a..32bf4cfd10 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -864,14 +864,14 @@ class ManageAlternateSettings(AdminScriptTestCase): "alternate: manage.py builtin commands work with settings provided as argument" args = ['sqlall','--settings=alternate_settings', 'admin_scripts'] out, err = self.run_manage(args) - self.assertOutput(out, 'CREATE TABLE "admin_scripts_article"') + self.assertRegexpMatches(out, 'CREATE TABLE [`"]admin_scripts_article[`"]') self.assertNoOutput(err) def test_builtin_with_environment(self): "alternate: manage.py builtin commands work if settings are provided in the environment" args = ['sqlall','admin_scripts'] out, err = self.run_manage(args,'alternate_settings') - self.assertOutput(out, 'CREATE TABLE "admin_scripts_article"') + self.assertRegexpMatches(out, 'CREATE TABLE [`"]admin_scripts_article[`"]') self.assertNoOutput(err) def test_builtin_with_bad_settings(self):