#20724 closed Cleanup/optimization (fixed)
Failing transaction test with on-disk sqlite database
Reported by: | Claude Paroz | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
====================================================================== ERROR: test_commit (transactions_regress.tests.TestNewConnection) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/claude/checkouts/django-git/tests/transactions_regress/tests.py", line 226, in test_commit list(Mod.objects.all()) File "/home/claude/checkouts/django-git/django/db/models/query.py", line 99, in __iter__ self._fetch_all() File "/home/claude/checkouts/django-git/django/db/models/query.py", line 851, in _fetch_all self._result_cache = list(self.iterator()) File "/home/claude/checkouts/django-git/django/db/models/query.py", line 223, in iterator for row in compiler.results_iter(): File "/home/claude/checkouts/django-git/django/db/models/sql/compiler.py", line 711, in results_iter for rows in self.execute_sql(MULTI): File "/home/claude/checkouts/django-git/django/db/models/sql/compiler.py", line 787, in execute_sql cursor.execute(sql, params) File "/home/claude/checkouts/django-git/django/db/utils.py", line 100, in inner return func(*args, **kwargs) File "/home/claude/checkouts/django-git/django/db/utils.py", line 94, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File "/home/claude/checkouts/django-git/django/db/utils.py", line 100, in inner return func(*args, **kwargs) File "/home/claude/checkouts/django-git/django/db/backends/sqlite3/base.py", line 448, in execute return Database.Cursor.execute(self, query, params) OperationalError: no such table: transactions_regress_mod
Note:
See TracTickets
for help on using tickets.
In 404870ee1f0d15f6b81d0e0b059068b1f020b2f1: