mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-05-28 06:03:59 +00:00
Tweak comments
This commit is contained in:
parent
3a69bea8f3
commit
1476d123ba
1 changed files with 2 additions and 2 deletions
|
|
@ -187,8 +187,8 @@ class InternalsTest(SearchTestBase):
|
|||
self.assertEqual(watson.search("fooo1").count(), 1)
|
||||
self.assertEqual(watson.search("fooo2").count(), 1)
|
||||
self.assertEqual(watson.search("fooo3").count(), 1)
|
||||
# Use raw deletion query to remove record directly from the database (no signals triggered).
|
||||
# This is so that the cleanup functionality of buildwatson can be tested
|
||||
# Use raw deletion query to remove record directly from the database (i.e. no signals triggered).
|
||||
# This is so that the cleanup functionality of buildwatson can be tested.
|
||||
with connection.cursor() as cursor:
|
||||
cursor.execute(
|
||||
'DELETE FROM ' + WatsonTestModel1._meta.db_table + ' WHERE ' + WatsonTestModel1._meta.pk.name + ' = %s',
|
||||
|
|
|
|||
Loading…
Reference in a new issue