diff options
Diffstat (limited to 'tests/storage/test__base.py')
-rw-r--r-- | tests/storage/test__base.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test__base.py b/tests/storage/test__base.py index 50399b90f3..de1c145e54 100644 --- a/tests/storage/test__base.py +++ b/tests/storage/test__base.py @@ -196,14 +196,12 @@ class SimpleTruncateTestCase(unittest.HomeserverTestCase): self.assertGreater(len(table_rows), 0) # Attempt to truncate the table - number_of_deleted_rows = self.get_success( + self.get_success( self.storage.db_pool.simple_truncate( table=self.table_name, desc="simple_truncate_test_truncate", ) ) - # Check that the number of deleted rows is as we expect. - self.assertEqual(number_of_deleted_rows, len(table_rows)) # Perform another select and ensure there are no remaining rows. table_rows = self.get_success( |