Tweak comments

This commit is contained in:
Cristopher Hernandez 2021-10-24 16:25:27 -07:00 committed by Guillaume Baffoin
parent 21a8a498b3
commit 1688cfdaf8
1 changed files with 2 additions and 2 deletions

View File

@ -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',