Opened 13 years ago
Closed 12 years ago
#18318 closed Bug (fixed)
admin_scripts.tests.expected_query_re missing mssql quote characters
Reported by: | Michael Manfre | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
MSSQL quotes entities with square braces [] and not quotes.
Attachments (1)
Change History (4)
comment:1 by , 13 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Lets rewrite the test as something like:
r"create table %s" % connection.ops.quote_name("admin_scripts_article")
That should work for other 3rd party backends, too.