Browse Source

improve test

pull/351/head
Florian da Costa 8 years ago
committed by Sylvain LE GAL
parent
commit
5e73fd0eca
  1. 1
      sql_export/tests/test_sql_query.py

1
sql_export/tests/test_sql_query.py

@ -58,6 +58,7 @@ class TestExportSqlQuery(TransactionCase):
sql_export
WHERE name = 'test'
""",
"SELECT id FROM sql_export;DELETE FROM sql_export",
]
for query in prohibited_queries:
with self.assertRaises(exceptions.ValidationError):

Loading…
Cancel
Save