Skip to content

Instantly share code, notes, and snippets.

@smithdc1
Last active February 24, 2022 08:07
Show Gist options
  • Save smithdc1/602ed0eec628746de54f98b67b533f74 to your computer and use it in GitHub Desktop.
Save smithdc1/602ed0eec628746de54f98b67b533f74 to your computer and use it in GitHub Desktop.
Django tests 24th Feb
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (generated)
Found 15614 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (17 silenced).
.......................................................................ssssssssssssssssssssssssssssssssssssssssssssssssss......................s..s...........................s..ssss......................................................................................................................x............sssss..................x.......................................................................................................................................ssss.sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.................................................................
.........sssssssssssss.......................ssss....s................................................ss.........sss....
....................s.s....ss....sss...........s............................s.s.s.....s..................................................................s.......ss................................sssss........................................
....s...........s.......................................................................ssss..s.........................
..................s...............................................s.....................................................s...........................................................s.s.................................................................................ssssssssssss..............................................................................................................................s..s.s....................ssssss........s.sssssss..sssssss.......ssssssss.....
................................................ssssss........................................................................s......................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.......................sssssss...........................s..................................................................................s......s....s................s.......................s....................x......ss.................................................................................................................................................................................................................................ssssssss..........................................s.................................................................................................................................
...................................s......s..s..............................sssssss....................s...................................s..s........s..ss..s.s..sss..........................................................s...............
........................................................................................................s...s.............................................s............s....s.s....s.......................................................sssss
sssss.....sss............ssssssssssssssss....s................................s.........................ssssss............................................s......................................................s.................................................................................................................................s........................s........s......s....s........................................................................................................................................................ssssss..ssssssss........s..................s....s........s.......s............................................................sssss................................................................................................................s.....................................s........ssssssssssss
ssssss........................sssssss....................s.s.s.....s...s......s............s.......s....................
.............................................ssssssssssssssssss...ssssssssssssssssssssssssssss...................................................s.............................s...................................sssssssssssssssssssssssssssssssssssssss.........................................s..................sss..s..s....s..s.................s...s....s.s....
.........................................................................s...............................................s...................s................s...............................................................................................................................................................................................................................................................................................................................................sssssss............................................ss..s...............................................s.....s....................................................sssssss........s...........................................................................................................................ssssss............s...s........s.....................................................s..............sss.......x........sssssss.............................s.........
..........................................................................ss.............................sssssssssssssss
sssssssssssssssssssssssssssssssssssssssssss....ss....ssssssss..........sssss................................................s.......s............sss.................ssssssssssssssssssssssssssss...............................................
........................................................................................................................
..................s...s................................................................s...............................................................................s.................ss................s.s..s...................................................................................................................s...................................
........................................................................................................................s................................................................................................................s...........ssss...ssssss........s............................ssssss.sssss...........................s......................................................s.........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.s....................
........................................................................................................sssss...........
.............................sssssssssssss........................................................................................sssssssssss...................................s...s......................................................................................................................................................................................................................ssssss..........sssss.s............................................s....................................................................................................................................................s.....................................................................................sssss..................
..............................................................ssssssssssss............................................................................................ss.......................................................................................................................................................................................................................................s..........ss.ss.................................................................
..............ss............................................................................s...s.......................................................................................................................................................................s.............................................ssssssssssss.........................s.................................x.s................................................................................................................................................................ssss....................................................
........................................................................................................................
..................................................................................................................sss.........s.......................................................................s........................................................................ssss..............................................................................ssss...
..................................................................sss............................................ssssssssssssssssssss...............................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssssss..........................................................................................s...........................ssssss....
.....sss.....................................................................................................................................................................................sss....ss................................................sssss.................................s........s.s..........s..........................ss.................................ssssss...........................................................................................................sssssss.........................sssss........................................ss.............s................................................................................................................................................................................................................s.....ss..................................................
...........................................................................sssssss.s................ss.s................
................................................s............s...................................................................................................s..............................................................................
....................................................................................................ss...........s.........................................sssss........................................s......................................................s...................s.............................................................................sss.......................s..ss....ss....................................................................................................................................................s.......................................................................................s..ss....................................................................................................................................ss...........................................................................
...................................................................sssss...................................................ssssssss.................sssss.................................................sss..sss.........s............................................................ss...................ssssssssssssssssssss.....................................................................s.sssssssssssssssssss.sss.sssssssssss............................ss.............................................s........sss...ss..........................sss...............................................................................................................E.........ss.................ssss................................................................................................................................................................ss....s.....................................................................................................
......................................................................................ssssss................ss....ss..........s.ss...s..s..............................................sss..............................s...s...................
..........................sssssssssssssssss.......................................ssssss.................................................................sssss.................................s.s.........sssss............ss..........................................ss.s...................................................................................................s...........s....................................................................................................
........................................................................................................................
...............................................s....ss..........s........................................................................................................ssssss........................................................................................................................................................................................................................sssss.....................................sss..ssssssssssssssssssssssssssssssssssssssssssssss..............s........ss.s.s.s.........s....s.............s....ss..............s.s...............s.s..s....s.........s...s..s.s................s......s.........s..ss.........s...s...........................................sss..s...............................................................................................................ssssss..........................s.............................................s.........................................................
........................................................................................................s..........................................................................................................s.....................s..ssss
ssssssssssssssssssssssssssssssssssssssssssssss.s........ss........................ssss...........................s........................s...s....s................s...Exception in thread Thread-70:
Traceback (most recent call last):
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\backends\sqlite3\base.py", line 357, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: backends_object
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner
self.run()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\backends\sqlite\tests.py", line 265, in create_object
Object.objects.create()
File "c:\users\smith\pycharmprojects\django\django\db\models\manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\db\models\query.py", line 541, in create
obj.save(force_insert=True, using=self.db)
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 830, in save
self.save_base(
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 881, in save_base
updated = self._save_table(
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 1024, in _save_table
results = self._do_insert(
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 1065, in _do_insert
return manager._insert(
File "c:\users\smith\pycharmprojects\django\django\db\models\manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\db\models\query.py", line 1552, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "c:\users\smith\pycharmprojects\django\django\db\models\sql\compiler.py", line 1638, in execute_sql
cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 67, in execute
return self._execute_with_wrappers(
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 80, in _execute_with_wrappers
return executor(sql, params, many, context)
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\backends\sqlite3\base.py", line 357, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: backends_object
F............................................................................s...............................................................................................sssssssss........................s........s..............................ssss.......................................................................................................ssss..................................ss.............................................................................................ssss................................................s...................................................................................ss....................................................................................................Exception ignored in: <_io.FileIO name='C:\\Users\\smith\\PycharmProjects\\django\\tests\\asgi\\urls.py' mode='rb' closefd=True>
Traceback (most recent call last):
File "<string>", line 1, in <lambda>
ResourceWarning: unclosed file <_io.FileIO name='C:\\Users\\smith\\PycharmProjects\\django\\tests\\asgi\\urls.py' mode='rb' closefd=True>
.....................................................................................
======================================================================
ERROR: test_file_response (asgi.tests.ASGITest)
Makes sure that FileResponse works over ASGI.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 223, in __call__
return call_result.result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 433, in result
return self.__get_result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 292, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\asgi\tests.py", line 77, in test_file_response
response_start = await communicator.receive_output()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 85, in receive_output
raise e
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 74, in receive_output
return await self.output_queue.get()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 66, in __aexit__
self._do_exit(exc_type)
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 103, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
======================================================================
FAIL: test_database_sharing_in_threads (backends.sqlite.tests.ThreadSharing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\django\tests\backends\sqlite\tests.py", line 271, in test_database_sharing_in_threads
self.assertEqual(Object.objects.count(), 2)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 831, in assertEqual
assertion_func(first, second, msg=msg)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 824, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 1 != 2
----------------------------------------------------------------------
Ran 15612 tests in 312.915s
FAILED (failures=1, errors=1, skipped=1388, expected failures=5)
Used shuffle seed: 2714725009 (generated)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 15614 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (17 silenced).
.......................................................................ssss..........ssssssssssssssssssssssssssssssssssssssssssssss............ss..ssss..s.................................................................................................................................................x............sssss..................x......................................................................................................................................s....sss.s
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.........................................................................sssssssssssss..........ssss........................ss....s.......................................sss.......................sss...............s.s....ss......s...........................................................s.s.s.....s..................................s.......ss...........................................sssss..................................s.........s............................................................s............................................ssss..............s..s..................................................................................................s...........................................................s.s.................................................................................ssssssssssss............................................................................................................................EEEEEEEEEEEEEEE.............sssssss..s.s.s..sssssss..sssssss.......ssssssss.....
............................................................ssssss............................................................s......................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss................sssssss..............................................s..............................................................s..............s....s................s.......................s....................x......ss.................................................................................................................................................................................................................................ssssssss............................................s.............................................................................................................................s.
..............................................................s..s..............sssssss................s.........................................................................................ss.....................................s..s........s..ss..s.s..s............................................s.....................................s...s................
............................s.............................s....s.s....s................................................ssssssssss....sss.......sssssssssssssssss.........................................................s......ssssss..........
........................................................................s...................................................................................................................s..............................s........................s........s......s....s........................................................................................................................................................ssssss..ssssssss........s..............................................................................................................s....s........s.......s....sssss...............
.................................................................s.........................................................s........sssssssssssssssssssssssss...............s.s.s.....s...s......s............s.......s......................................................................ssssssssssssssssss...ssssssssssssssssssssssssssss.....................................................s..........................s....................................sssssssssssssssssssssssssssssssssssssss.............................s...............sss..s..s....s..s.................s...s....s.s...................
.........................................................................s..............................................s...................s................s................................................................................................................................................................................................................................................................................................................................s.....s...........................................sssssss........................................ss........s..............................................................sssssss................s..............................................................................................ssssss.........................................s...s........s.......................................................s..............sss.....x................................s....................................................sssssss......................................ss...........................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..s...s.........ssssssss....sssss....................s.......s............sss....................................ssssssssssssssssssssssssssss.................................................................................................................................................................s...s................................................................................s................................................s...................................................................ss..........s..................s..s..................
.....................................................................................s..................................
......................................................................................................................................................................................s.................................s.....................ssss..............s.....................ssssss............sssssssssss...........................s.........................
.............................s.........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.s....................
......................................................................................................sssss..........................................sssssssssssss........................................................................................sssssssssss.........................................s...s...............................................................................s..............................................................................................................................................ssssss...........sssss.............s...............................................................................................................................................................................s....................................................................................sssss..........
........................................................ssssssssssss....................................................
............................................ss.........................................................................................................................................................................................................................................s..........ss.ss.................................................................
..........ss................................................................................s...s.....................................................................................................................................................s...............................................................ssssssssssss....................s.................................x.s.....................................................................................................................................................................ssss....................................................
.................................................s....................................................................................................................................................................................................................................................................sss.........s...................................................................ssss...............................................................................ssss...
..........................................................................................................sss....ssssssssssssssssssss...............................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssssss..............................................s.......................................................................ssssss....
.....sss................................................................................................................
.....................................................................sss....ss........................................ss
sss........................................................................s........s.s..........s.............ss.......
.......ssssss....................................................................................................sssssss
.............................sssss.....................................ss................s..............................
.............................................................................................................................................s.................................................ss...............................................
...........................................................................sssssss.s................ss.s.............................................................s............s.........................................................................................................s...........................................................................
....................................................................................................ss...........s......................s.........................................sssss...........................................................................s........................................................................................................................sss........................s...................ss....ss.....................................................s.............s..ss....................................................................................s.........................................................................................................................................................................ss...................................................................................................................................................sssss...................................................ssssssss..................sssss...............................................sss..sss........s....................
........................................ss..................s.sssssssssssssssssss.sss.sssssssssssssssssssssssssssssss.......................................................................ss.............................................s........sss...ss................................................sss.............................................................................................ss..................................................ssss......................................................................................................................................................................................................................ss....s.....................................................................................................................................ssssss..............ss....ss..........s.ss...s..s................................................sss.............s...s....................................
..........................sssssssssssssssss.....................................ssssss..................................
.................................sssss.................................s.s.........sssss............ss..........................................ss.s...................................................................................................s...........s........................................................................................................................................................................................................................s....ss..........s.............................................................................................................................................................ssssss....................................................................................................................................................................................................s......................................sssss.......................................ssssssssssssssssssssssssssssssssssssssssssssss...sss...............s........ss.s.s.s.........s....s.............s....ss..............s.s...............s.s..s....s.........s...s..s.s................s......s.........s..ss.........s...s..............................sss..s................................................................................................................sss
sss.......................................................................s.................................................................................................................................................s...................
........................................................................................s....................ssss...s.sssssssssssssssssssssssssssssssssssssssssssssss..............ss.....................ssss.................s................
..........s............s....s...............s...........................................................................
..........s..........................................................................................sssssssss..........
.............s.........s..........................ssss...........................................................................................................ssss..................................ss.......................................
......................................................ssss................................................s....................................................................................................ss.......................................................................................................................................................
.................
======================================================================
ERROR: test_instance_of_cached_property_methods_are_displayed (admin_docs.test_views.TestModelDetailView)
Model cached properties are displayed as fields.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_instance_of_property_methods_are_displayed (admin_docs.test_views.TestModelDetailView)
Model properties are displayed as fields.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_method_excludes (admin_docs.test_views.TestModelDetailView)
Methods that begin with strings defined in
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_method_data_types (admin_docs.test_views.TestModelDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_model_docstring_renders_correctly (admin_docs.test_views.TestModelDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_model_detail_title (admin_docs.test_views.TestModelDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_app_not_found (admin_docs.test_views.TestModelDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_methods_with_arguments_display_arguments_default_value (admin_docs.test_views.TestModelDetailView)
Methods with keyword arguments should have their arguments displayed.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_methods_with_arguments (admin_docs.test_views.TestModelDetailView)
Methods that take arguments should also displayed.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_methods_with_arguments_display_arguments (admin_docs.test_views.TestModelDetailView)
Methods with arguments should have their arguments displayed.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_methods_with_multiple_arguments_display_arguments (admin_docs.test_views.TestModelDetailView)
Methods with multiple arguments should have all their arguments
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_model_with_no_backward_relations_render_only_relevant_fields (admin_docs.test_views.TestModelDetailView)
A model with ``related_name`` of `+` shouldn't show backward
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_descriptions_render_correctly (admin_docs.test_views.TestModelDetailView)
The ``description`` field should render correctly for each field type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_model_not_found (admin_docs.test_views.TestModelDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
======================================================================
ERROR: test_model_with_many_to_one (admin_docs.test_views.TestModelDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 589, in run
self._callSetUp()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 547, in _callSetUp
self.setUp()
File "C:\Users\smith\PycharmProjects\django\tests\admin_docs\test_views.py", line 239, in setUp
self.response = self.client.get(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 836, in get
response = super().get(path, data=data, secure=secure, **extra)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 424, in get
return self.generic(
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 541, in generic
return self.request(**r)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 810, in request
self.check_exception(response)
File "c:\users\smith\pycharmprojects\django\django\test\client.py", line 663, in check_exception
raise exc_value
File "c:\users\smith\pycharmprojects\django\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
File "c:\users\smith\pycharmprojects\django\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\utils\decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\auth\decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 50, in dispatch
return super().dispatch(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\views\generic\base.py", line 185, in get
context = self.get_context_data(**kwargs)
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 383, in get_context_data
return super().get_context_data(
File "c:\users\smith\pycharmprojects\django\django\contrib\admindocs\views.py", line 56, in get_context_data
**admin.site.each_context(self.request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 337, in each_context
"available_apps": self.get_app_list(request),
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 538, in get_app_list
app_dict = self._build_app_dict(request)
File "c:\users\smith\pycharmprojects\django\django\contrib\admin\sites.py", line 520, in _build_app_dict
"app_url": reverse(
File "c:\users\smith\pycharmprojects\django\django\urls\base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\urls\resolvers.py", line 802, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' not found. 'app_list' is not a valid view function or pattern name.
----------------------------------------------------------------------
Ran 15612 tests in 359.015s
FAILED (errors=15, skipped=1388, expected failures=5)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 15614 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (17 silenced).
.......................................................................sssssssssssssssssssssssssssssssssssssssssssssssss
s......................s..ssss.ss..................................................................................................................................................x............sssss..................x......................................................................................................................................s....sss..
...sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss......................................................................sssssssssssss.................ssss................ss....s.......................................sss.........
..............sss.............s.s....ss........s............................................s.s.s.....s.......................................................s.......ss...........................sssss........................................
............s.s....................................s....................................................................
sssss.....................s.............................................................................................s...........................................................s.s........................................................................ssssssssssss.............................................................................................
..............................................................s..s.sssssss.......s..sssssss.........sssssssssssssss......................................................ssssss.......................................................................s.......................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...............sssssss................................................s...............................................................s...........s....s.........s...................................s...............x......ss.................................................................................................................................................................................................................................ssssssss............................................s.............................................................................................................................s.
..............................................................s..s..............sssssss................s.......................................ss...................s..s........s..ss..s.s..s................................................................................................................s.....................................s...s.......................................................s............s....s.s....s..................................................ssssssssss.....sss................sssssssssssssssss...................................................s..ssssss..............
............................s...........................................................................................
...........s...........................................................................................................s
........s......s....s......s............................................................................................
.................................................................ssssss..ssssssss.s...................................................................................................................................sssss............s....s........s.......s...............................................s....................................................ssssssssssssssssss....sssssss..........s..........s.s.s.....s...s......s............s.......s...................................................................ssssssssssssssssssssssssssssssssssssssssssssss.................................................................s.................................s...............................sssssssssssssssssssssssssssssssssssssss.............................s..............................sss..s..s....s..s.................s...s....s.s....
.........................................................................s.................................s...................s................s.....................................................................................................................................................................................................................................................................................................................................s.....s.........................sssssss...........................................................ss.........s....................
................................................sssssss................s................................................
.......................................................................................ssssss........s...s........s..................................................s.........sss.......x................................s....................................................sssssss.................................................ss......................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..ss...ssssssss.......sssss................................s.......s............sss..........................ssssssssssssssssssssssssssss........................................................................................................................................................................s...s.......................................................................s.........................................................s..............................................................ss.....................s.s..s....................
...................................................................................s....................................
........................................................................................................................s...................................................................................................s.................ssss.s..............................ssssss................sssssssssss...........................s.........................
..........................s............sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss......s................................................sssss..................................................................................
..........................sssssssssssss...........................................................................................sssssssssss.........................................s...s................................................................................................................................................................................................................ssssss............s................sssss...........................s...................................................................................................................................................s....................................................................................................sssss....
.............ssssssssssss...........................................................................................................................................ss.........................................................................................................................................................................................................................................s..........ss.ss.................................................................
..........ss................................................................................s...s.....................................................................................................................................................s...............................................................ssssssssssss......................s.................................x.s...................................................................................................................................................................ssss....................................................
.................................................s..........................................................................................................................................................................................................................................sss.........s...............................................................................................ssss..........................................................ssss........................................................................................sss............................................ssssssssssssssssssss...................................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssssss....
.................................s......................................................................................
..ssssss.........sss.........................................................................................................................................................................sss....ss........................................ss
sss.........................................s........s.s..........s............................................ss.......
........ssssss.......................................................................................................sssssss........................sssss......................................ss................s................................................................................................................................................................................................................s.....ss......................................................
...........................................................................sssssss.s................ss.s................
.............................................s..............s.......................................................................................................s...............................................................................................................................................................................ss...........s...............................s.......................................sssss...............................................................................................................s...................................................s......
.....................................sss..........................ss....ss...........................................................s..........s..ss.................................................................................................................................................ss.........................................................................................................................s.................................................................................................................................sssss...................................................ssssssss.................sssss.................................................sss..sss.........s............................................................ss...............s.sssssssssssssssssss.sss.sssssssssss...ssssssssssssssssssss........................................................................s........sss...ss.....ss............................................................................................sss.......................................................................................................................E......ss............ssss......................................................................................................................................................................................................ss....s.....................................................................................................................................................ssssss................ss....ss..........s.ss...s..s..............................................sss.........Exception ignored when trying to send to the signal wakeup fd:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
OSError: [WinError 10038] An operation was attempted on something that is not a socket
Process SpawnPoolWorker-3:
Exception ignored when trying to send to the signal wakeup fd:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1130, in communicate
Process SpawnPoolWorker-5:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\genericpath.py", line 19, in exists
os.stat(path)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\smith\\PycharmProjects\\django\\tests\\sites_tests\\locale'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap
self.run()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "c:\users\smith\pycharmprojects\django\django\test\runner.py", line 446, in _run_subsuite
result = runner.run(subsuite)
File "c:\users\smith\pycharmprojects\django\django\test\runner.py", line 366, in run
test(result)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\suite.py", line 84, in __call__
return self.run(*args, **kwds)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\suite.py", line 122, in run
test(result)
File "c:\users\smith\pycharmprojects\django\django\test\testcases.py", line 258, in __call__
self._setup_and_call(result)
File "c:\users\smith\pycharmprojects\django\django\test\testcases.py", line 293, in _setup_and_call
super().__call__(result)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 653, in __call__
return self.run(*args, **kwds)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\django\tests\forms_tests\tests\test_error_messages.py", line 278, in test_error_messages_escaping
f = SomeForm({"field": "<script>"})
File "c:\users\smith\pycharmprojects\django\django\forms\forms.py", line 98, in __init__
self.label_suffix = label_suffix if label_suffix is not None else _(":")
File "c:\users\smith\pycharmprojects\django\django\utils\translation\__init__.py", line 95, in gettext
return _trans.gettext(message)
File "c:\users\smith\pycharmprojects\django\django\utils\translation\trans_real.py", line 374, in gettext
_default = _default or translation(settings.LANGUAGE_CODE)
File "c:\users\smith\pycharmprojects\django\django\utils\translation\trans_real.py", line 287, in translation
_translations[language] = DjangoTranslation(language)
File "c:\users\smith\pycharmprojects\django\django\utils\translation\trans_real.py", line 164, in __init__
self._add_installed_apps_translations()
File "c:\users\smith\pycharmprojects\django\django\utils\translation\trans_real.py", line 219, in _add_installed_apps_translations
if os.path.exists(localedir):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\genericpath.py", line 19, in exists
os.stat(path)
KeyboardInterrupt
======================================================================
ERROR: test_file_response (asgi.tests.ASGITest)
Makes sure that FileResponse works over ASGI.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 223, in __call__
return call_result.result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 433, in result
return self.__get_result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 292, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\asgi\tests.py", line 77, in test_file_response
response_start = await communicator.receive_output()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 85, in receive_output
raise e
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 74, in receive_output
return await self.output_queue.get()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 66, in __aexit__
self._do_exit(exc_type)
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 103, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
----------------------------------------------------------------------
Ran 12791 tests in 230.095s
FAILED (errors=1, skipped=1146, expected failures=5)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\shutil.py", line 617, in _rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\smith\\AppData\\Local\\Temp\\django_lvvb7c6k\\django_jkpzxj_v\\tmpzxir8t_u\\test_project'
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --help
usage: runtests.py [-h] [-v {0,1,2,3}] [--noinput] [--failfast] [--keepdb] [--settings SETTINGS] [--bisect BISECT]
[--pair PAIR] [--shuffle [SEED]] [--reverse] [--selenium BROWSERS] [--headless]
[--selenium-hub SELENIUM_HUB] [--external-host EXTERNAL_HOST] [--debug-sql] [--parallel [N]]
[--tag TAGS] [--exclude-tag EXCLUDE_TAGS] [--start-after START_AFTER] [--start-at START_AT] [--pdb]
[-b] [--timing] [-k TEST_NAME_PATTERNS]
[module ...]
Run the Django test suite.
positional arguments:
module Optional path(s) to test modules; e.g. "i18n" or
"i18n.tests.TranslationTests.test_lazy_objects".
optional arguments:
-h, --help show this help message and exit
-v {0,1,2,3}, --verbosity {0,1,2,3}
Verbosity level; 0=minimal output, 1=normal output, 2=all output
--noinput Tells Django to NOT prompt the user for input of any kind.
--failfast Tells Django to stop running the test suite after first failed test.
--keepdb Tells Django to preserve the test database between runs.
--settings SETTINGS Python path to settings module, e.g. "myproject.settings". If this isn't provided, either the
DJANGO_SETTINGS_MODULE environment variable or "test_sqlite" will be used.
--bisect BISECT Bisect the test suite to discover a test that causes a test failure when combined with the
named test.
--pair PAIR Run the test suite in pairs with the named test to find problem pairs.
--shuffle [SEED] Shuffle the order of test cases to help check that tests are properly isolated.
--reverse Sort test suites and test cases in opposite order to debug test side effects not apparent with
normal execution lineup.
--selenium BROWSERS A comma-separated list of browsers to run the Selenium tests against.
--headless Run selenium tests in headless mode, if the browser supports the option.
--selenium-hub SELENIUM_HUB
A URL for a selenium hub instance to use in combination with --selenium.
--external-host EXTERNAL_HOST
The external host that can be reached by the selenium hub instance when running Selenium tests
via Selenium Hub.
--debug-sql Turn on the SQL query logger within tests.
--parallel [N] Run tests using up to N parallel processes. Use the value "auto" to run one test process for
each processor core.
--tag TAGS Run only tests with the specified tags. Can be used multiple times.
--exclude-tag EXCLUDE_TAGS
Do not run tests with the specified tag. Can be used multiple times.
--start-after START_AFTER
Run tests starting after the specified top-level module.
--start-at START_AT Run tests starting at the specified top-level module.
--pdb Runs the PDB debugger on error or failure.
-b, --buffer Discard output of passing tests.
--timing Output timings, including database set up and total run time.
-k TEST_NAME_PATTERNS
Only run test methods and classes matching test name pattern. Same as unittest -k option. Can
be used multiple times.
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 --failfast
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 15614 test(s).
Creating test database for alias 'default'...
Traceback (most recent call last):
File "C:\Users\smith\PycharmProjects\django\tests\runtests.py", line 757, in <module>
failures = django_tests(
File "C:\Users\smith\PycharmProjects\django\tests\runtests.py", line 421, in django_tests
failures = test_runner.run_tests(test_labels)
File "c:\users\smith\pycharmprojects\django\django\test\runner.py", line 1039, in run_tests
old_config = self.setup_databases(
File "c:\users\smith\pycharmprojects\django\django\test\runner.py", line 933, in setup_databases
return _setup_databases(
File "c:\users\smith\pycharmprojects\django\django\test\utils.py", line 220, in setup_databases
connection.creation.create_test_db(
File "c:\users\smith\pycharmprojects\django\django\db\backends\base\creation.py", line 78, in create_test_db
call_command(
File "c:\users\smith\pycharmprojects\django\django\core\management\__init__.py", line 198, in call_command
return command.execute(*args, **defaults)
File "c:\users\smith\pycharmprojects\django\django\core\management\base.py", line 448, in execute
output = self.handle(*args, **options)
File "c:\users\smith\pycharmprojects\django\django\core\management\base.py", line 96, in wrapped
res = handle_func(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\core\management\commands\migrate.py", line 371, in handle
[ModelState.from_model(apps.get_model(*model)) for model in model_keys]
File "c:\users\smith\pycharmprojects\django\django\core\management\commands\migrate.py", line 371, in <listcomp>
[ModelState.from_model(apps.get_model(*model)) for model in model_keys]
File "c:\users\smith\pycharmprojects\django\django\db\migrations\state.py", line 754, in from_model
fields.append((name, field.clone()))
File "c:\users\smith\pycharmprojects\django\django\db\models\fields\__init__.py", line 572, in clone
name, path, args, kwargs = self.deconstruct()
File "c:\users\smith\pycharmprojects\django\django\db\models\fields\related.py", line 1033, in deconstruct
name, path, args, kwargs = super().deconstruct()
File "c:\users\smith\pycharmprojects\django\django\db\models\fields\related.py", line 700, in deconstruct
kwargs["to"] = SettingsReference(
File "c:\users\smith\pycharmprojects\django\django\conf\__init__.py", line 50, in __new__
return str.__new__(self, value)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\signals.py", line 36, in __call__
self.default_handler(signum, frame)
KeyboardInterrupt
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 --failfast --keepdb
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 15614 test(s).
Using existing test database for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing test database for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
System check identified no issues (17 silenced).
.......................................................................ssssssssssssssssssssssssssssssssssssssssssssssssss...........s..ssss............ss..................................................................................................................................................x............sssss..................x........................
..............................................................................................................s....sss.sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.........................................................................sssssssssssss..........ssss.................................sssss....s.........................................................sss...............s.s....ss..s...........................................................................s.s.s.....s................s.......ss............................................sssss...............................
....s.........s............................................................s............................................
ssss..............ss............................................................................................................................................s....s.s........................................................................
........................ssssssssssss..................................................................................................................................................s..s.sssssss.s........sssssss..sssssss.......ssssssss.....................................................ssssss...............................................................................s..................ssssssssssssssssssssssssssssssssssssssssssss.sssssssssssssssssss............sssssss................................................s..................................................................s........s....s.........s..................................s................x......ss.................................................................................................................................................................................................................................ssssssss............................................s.............................................................................................................................s.
..............................................................s..s..............sssssss................s....................................ss....s..s........s..ss..s.s..s..................................................................................................................................s..........................................s...s...........
.......................................s....................s....s.s....s.......................................ssssssssss............sss......sssssssssssssssss..........................................................s.ssssss................................................s......................................................s......................................................................................................................................................
.......................................s........................s........s......s....s...................................................................................................ssssss..ssssssss.s...................................................................................................................................sssss...........s....s........s.......s....................................................s................................................ssssssssssssssssss....sssssss..........s..........s.s.s.....s...s......s............s.......s...................................................................ssssssssssssssssssssssssssssssssssssssssssssss.................................................................s..........................s......................................sssssssssssssssssssssssssssssssssssssss.............s..........................................sss..s..s....s..s.................s...s....s.s.................................................................................s..............................................
..s...................s................s................................................................................
..............................................................................................................................................................................................................................................s.....s.................sssssss...........................................................................................
.ss.......s.....................................sssssss................s...........................................................................................................................ssssss............s...s........s.......................................................s.........sss................................s.......................................................................sssssss...x......................................ss....................ssssssssss
ssssssssssssssssssssssssssssssssssssssssssssssss...ss......ssssssss....................s.......s............sss.........
............sssss.....................ssssssssssssssssssssssssssss......................................................
..................................................................................................................s...s................................................................................s................................................s........................................................ss................s.s..s...............................
................................................................................s...............................................................................................................................................................s.....................................................................................................s...............ssss.s.........................ssssss.....................sssssssssss...........................s......................................................s.........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.s....................
.................................sssss..................................................................................
.............................sssssssssssss........................................................................................sssssssssss...................................s...s.....................................................................................s.....................................................................................................................................................ssssss....s.............s.....................................................................................................................................................................s..............................................................................................sssss..................................................................ssssssssssss................................................................................................ss.........................................................................................................................................................................................................................................s..........ss.ss...............................................................................ss............................................................................s...s...........................
..........................................................................................................................s...............................................................ssssssssssss....................s.................................x.s.....................................................................................................................................................................ssss..........................................................................................................s.........................................................................................................................................................................................................................................sss.........s.....................................................................................ssss...............................................................................ssss.........................................................................sss............................................ssssssssssssssssssss...............................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssssss....................................................................................................s.................ssssss.........sss.....................................................................................................................................................................................sss....ss........................................s.....
.........ssss...........................s........s.s..........s.............................................ss..............ssssss.......................................................................................................sssssss
........................sssss.............................................ss.............s............................................................................................................................................................................................................s.....ss.................................................................................................................................sssssss.s................ss.s....................
................................s......................s........................................................................................................s...............................................................................................................................................................................ss..............................s.....s...........................................................sssss..................................................................................................s...................................................s..............................................sss........................ss......ss..................................................................s....................................................................s..ss.............................................................................ss...............................................s....................
.......................................................................................................................................................................................sssss.....................................................ssssssss..................sssss...............................................sss..sss........s............................................................ss..................s.sssssssssssssssssss.sss.sssssssssssssssssssssssssssssss....................................................................................................s........sss...ss.ss....................................................................sss........................................................
................................ss................ssss..........................................................................................................................................................................................
........ss....s...........................................................................................................................................................................................ssssss..............ss....ss..........s.ss...s..s................................................sss...............................s....s........................................sssssssssssssssss........................................ssssss...................................................................sssss.....................................................sssss.s.s....ss......................................ss.s...................................................................................................s...........s........................................................................................................
.......................................................................................................................................s....ss..........s..............................................................................................................................................ssssss...........................................................
........................................................................................................................
...........................sssss....sss............................s...........................ssssssssssssssssssssssssssssssssssssssssssssss..............s........ss.s.s.s.........s....s.............s....ss..............s.s...............s
.s..s....s.........s...s..s.s................s......s.........s..ss.........s...s..................................sss..s.......................................................................................................................
ssssss................................................................s.................................................
................................................................................................s......................................................................................................s...s....................ssssssssssssssssssssssssssssssssssssssssssssssssss.s................ss........................ssss.................s..........................s........................s......s....s.............................................................................s..............................................................................................s..........sssssssss.......................s........................ssss..............................................................................................................................................ssss.....................................ss.......
..................................................ssss................................................s.................
..................................................................ss.........................................................................................................................................................................................
----------------------------------------------------------------------
Ran 15612 tests in 334.554s
OK (skipped=1384, expected failures=5)
Used shuffle seed: 2714725009 (given)
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 --failfast --keepdb
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 15614 test(s).
Using existing test database for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing clone for alias 'default'...
Using existing test database for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
Using existing clone for alias 'other'...
System check identified no issues (17 silenced).
.......................................................................ssss..........ssssssssssssssssssssssssssssssssssssssssssssss............s.s....s..ssss..............................................................................................................................................x............sssss..................x........................
..........................................................................................................s....sss.........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...........................s..........................................sssssssssssss.................................................ssss.................................sssss.....................s.s....ss.......sss...........s............................................s.s.s.....s.................
......................................s.......ss...........................sssss........................................
..s...s....................................................................s............................................
sssss.....................s.............................................................................................
s...........................................................s.s.........................................................
...............ssssssssssss.................................................................................................................................................................ssssss.s.s..s.s.sssssss.........sssssssssssssss.................................ssssss............................................................................................................s..sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...................sssssss.........................................s...............................................................s.........s....s...................s........................s..........................x...................ss....................................................................................................................................................................................................................ssssssss...............s..........................................................................................................................................................s.
..............................................................s..s...........sssssss...................s....................................ss....s..s........s..ss..s.s..s..................................................................................................................................s............................s...s................................................................s............s....s.s....s....................................................sssssssssssss.............sssssssssssssssss..........................................................s......ssssss.........
..................................s......................................................s..........................................................................................................................s........s......s....s........................................................................s...............................................................................................................ssssss.........ssssssss.s..........................................................................s....s........s.......s....sssss.......................................s......................................................................................................s................ssssssssssss
ssssss..s.s.s.....s...s......s............s.......s....................sssssss............................................................................ssssssssssssssssssssssssssssssssssssssssssssss........................................
.........................s..................................................s..............sssssssssssssssssssssssssssssssssssssss........................s...............sss..s..s....s..s.................s...s....s.s..............................................................................................................s.................................
...s...................s................s.......................................................................................................................................................................................................
......................................................................................................................................................sssssss................s.....s...................................ss........s..............................................................sssssss................s.................................................................................................................................ssssss......s...s........s.......................................................s.........sss........................x..................................s..................................................sssssss..................................ss.........................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.....ssssssss.....................s.......s............sss.................sssss.......................ssssssssssssssssssssssssssss..........................................................................................................................................................................s...s.......................................................................s........................................s................................................................................s.ss...........s..s.............................
.....................................................................................s..................................
......................................................................................................................................................................................s.....................................s.................ssss..s.....................ssssss......................ssssss..sssss...........................s..............................s.................................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.s..........................................................................................................................sssss.............
.............................sssssssssssss......................................................................................................................................................................sssssssssss..........................................................s...s.................................................................................................................ssssss.........s.............s.................................s...............................................................................................................................................................s..........................................................................sssss..............................................................................ssssssssssss...........................................................................................ss..........................................................................................................................................................................................................................................s..........ss.ss...........................................................................ss................................................................................s...s...........................
..........................................................................................................................s....................................................................ssssssssssss........s.................................x.s............................................................................................................................................................................ssss..........................................................................................................s.............................................................................................................................................................................................
............................................sss.........s...............................................................................................ssss.....................................................................ssss..................................................................................................................sss...ssssssssssssssssssss...............................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssssss....................................................................................................s.................ssssss....................sss..........................................................................................................................................................................sss....ss.................................................sssss................................s........s.s..........s............................................ss..............ssssss........................................................................................................sssssss
........................sssss......................................ss................s..................................
..............................................................................................................................................................................s.....ss.................................................................................................................................sssssss.s................ss.s....................
.........................................s..............s.......................................................................................................s...............................................................................................................................................................................ss...............................s......................s...............sssss.............................................................................................................................s.............s...............................................................................sss..............................ss....ss..................................................................s......................................................................s..ss...........................................................................ss...............................................s...........................................................................................................................................................................................................sssss.....................................................ssssssss..................sssss...............................................sss..sss........s............................................................ss...............s.sssssssssssssssssss.sss.sssssssssss.ssssssssssssssssssss.........................................................................ss.........................................................................s........sss...ss.........................sss........................................................................................ss..................................................ssss........................................................................................................................................................
........ss....s.........................................................................................................
..................................................................................ssssss................ss....ss..........s.ss...s..s.......................................sss.....................................s...s.............................................sssssssssssssssss.................................................................................
...................ssssss....sssss.................................s.s.........sssss............ss......................
....................ss.s.....................................................................................................s...........s......................................................................................................
................................................................................................................s....ss..........s...............................................................................................................ssssss.........................................................................................................................................................................................................................................
...................s............................sssss.......................................ssssssssssssssssssssssssssssssssssssssssssssss...sss.....................s........ss.s.s.s.........s....s.............s....ss..............s.s...............s.s..s....s.........s...s..s.s................s......s.........s..ss.........s...s........................sss..s................................................................................................................ssssss...................................................................s.....................................................................................................................................................s.....................................................................................................................s.s......sssssssssssssssss
sssssssssssssssssssssssssssssssss.s..............ss...........................ssss.................s....................
...............s...s....s..................s.............................................................................s...............................................................................................sssssssss.......................s.s..................................ssss............................................................................................................................................ssss.....................................ss.......
..................................................ssss................................................s.................
..................................................................ss.........................................................................................................................................................................................
----------------------------------------------------------------------
Ran 15612 tests in 331.428s
OK (skipped=1384, expected failures=5)
Used shuffle seed: 2714725009 (given)
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'default'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
Preserving test database for alias 'other'...
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 --failfast
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 15614 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (17 silenced).
..................................................................................ssssssssssssssssssssssssssssssssssssssssssssssssss...........s...ss..ssss................................................................................................................................................x............sssss..................x........................
..............................................................................................................s....sss.s
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..................................sssssssssssss...............
........ssss............s.........................................................................................sss.ss..............sss.................s.s....ss....s............................s.s.s.....s.................................
........................................s.......ss.........................sssss........................................
..........s.....s..................................s...................................................................ssss.s...........................s.......................................................................................s...........................................................s.s.................................................................................ssssssssssss........................................................................................................................................................ssssss.s..s..s.ssssssss..sssssss.......ssssssss.....
............................ssssss........................................................................................s.......................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss............sssssss............
...........................s..............................................................................s............s....s................s............................s...............x...................ss....................................................................................................................................................................................................................ssssssss..........................................s...............................................................................................................................s.
..............................................................s..s..........sssssss....................s.................................................................................s..s........s..ss..s.s..s........ss....................
....................................................s..............................................s...s.......................................................s............s....s.s....s...................................................ssssssssss....sss................sssssssssssssssss...................................................s.......ssssss.........
........................................................................s........................................................s.........................................................................................s........................s........s......s....s...............................................................................................................................................................ssssss..ssssssss.s...............................................s....s........s.......s..sssss......................................................................s.........
...................................................................................................................s....
....ssssssssssssssssss........sssssss..s.s.s.....s...s......s............s.......s...................................................................................ssssssssssssssssss...ssssssssssssssssssssssssssss...................................................s.................................s...............................sssssssssssssssssssssssssssss
ssssssssss........................s...................................sss..s..s....s..s.................s...s....s.s.............................................................................s..............................................
..s...................s................s................................................................................................................................................................................................................................................................................................................................
..............................sssssss..............................................ss..........s............................................sssssss.....s.............................................................s.....s.................................................................ssssss.............................................s...s........s.........
.........................................s..........sss.................................s...............................
.....................x........sssssss.................................................ss.................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss....ss....ssssssss..........sssss................................s.......s...
.........sss...............................ssssssssssssssssssssssssssss...................................................................................................................................................................s...s.......................................................................s.........................................................s.............................................ss...........................s............s..s....................
.............................................................................................................................................................................s..................................................................
.........................................................s......................................s.............................ssss..s.....................ssssss.....................ssssss..sssss...............s..............................
.............................s.........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.s....................
..............................sssss..............................................................................................................sssssssssssss..................................................................................
......................................s...s.....................sssssssssss........................................................................................................................................................................................................ssssss..........s.s..................................s.......................................................................................................................................................................s..........................................................................................sssss..................................................................ssssssssssss.......................................................................................ss............................................................................................................................................................................................................................................s..........ss.ss...............................................................................ss........................................................................................s...s...............
..........................................................................................................................s...............................................................ssssssssssss......................s.................................x.s...................................................................................................................................................................ssss........................................................
..................................................................s................................................................................................................................................................................................................................................sss.........s...............................................................ssss.........................................................................ssss......................................................................................................................sss....ssssssssssssssssssss...............................................................................................................
................................................................................................................................................................................................................................................
................................................................................................ssssssssssss............
........................s.................................................................................ssssss.........sss.....................................................................................................................................................................................sss....ss.................................................sssss................................s........s.s..........s..........................ss.................................ssssss.......................................................................................................sssssss
........................sssss......................................ss................s................................................................................................................................................................................................................s.....ss.................................................................................................................................sssssss.s................ss.s..................................................................s.........s.......................................................................................................s...............................................................................................................................................................................ss...........s....................................................s..................sssss.................................................................................................................s.........................................................s...................................sss..........................ss....ss.....................................................s............................................................s...............................................................s..ss..................................................................................................................................................ss..............................................................................................................................................sssss...................................................ssssssss.................sssss.................................................sss..sss.........s............................................................ss...................ssssssssssssssssssss.........................................s.sssssssssssssssssss.sss.sssssssssss....s........sss...ss..........................ss....................................
.............................................................sss.............................................................................................................................ss.............ssss................................
..........................................................................................................................................................................ss....s.................................................................................................................................................ssssss...............ss....ss..........s.ss...s..s...............................................sss..............................s...s.......................
......................sssssssssssssssss.....................................ssssss......................................
.............................sssss.................................s.s.........sssss.........................ss.........
....................ss.s...................................................................................................s...........s........................................................................................................
....................................................................................................................................s....ss..........s...........................................................................................ssssss.........................................................................................................................................................................................................................................
...........................sssss....sss..........................................sssssssssssssssssssssssssssssssssssssss
sssssss.......s........ss.s.s.s.........s....s.............s....ss..............s.s...............s.s..s....s.........s...s..s.s................s......s.........s..ss.........s...s...........................................sss..s......................................s.....................................................................................ssssss...................................................................s.........................................................................................................................................................s..........................................................................................................s....................ssssssssssssssssssssssssssssssssssssssssssssssssss...s.s........ss........................ssss.........................s............
..........s........s....s.......s...........Exception in thread Thread-165:
Traceback (most recent call last):
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\backends\sqlite3\base.py", line 357, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: backends_object
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner
self.run()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\backends\sqlite\tests.py", line 265, in create_object
Object.objects.create()
File "c:\users\smith\pycharmprojects\django\django\db\models\manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\db\models\query.py", line 541, in create
obj.save(force_insert=True, using=self.db)
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 830, in save
self.save_base(
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 881, in save_base
updated = self._save_table(
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 1024, in _save_table
results = self._do_insert(
File "c:\users\smith\pycharmprojects\django\django\db\models\base.py", line 1065, in _do_insert
return manager._insert(
File "c:\users\smith\pycharmprojects\django\django\db\models\manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "c:\users\smith\pycharmprojects\django\django\db\models\query.py", line 1552, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "c:\users\smith\pycharmprojects\django\django\db\models\sql\compiler.py", line 1638, in execute_sql
cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 67, in execute
return self._execute_with_wrappers(
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 80, in _execute_with_wrappers
return executor(sql, params, many, context)
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "c:\users\smith\pycharmprojects\django\django\db\backends\utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "c:\users\smith\pycharmprojects\django\django\db\backends\sqlite3\base.py", line 357, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: backends_object
F
======================================================================
FAIL: test_database_sharing_in_threads (backends.sqlite.tests.ThreadSharing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\django\tests\backends\sqlite\tests.py", line 271, in test_database_sharing_in_threads
self.assertEqual(Object.objects.count(), 2)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 831, in assertEqual
assertion_func(first, second, msg=msg)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 824, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 1 != 2
----------------------------------------------------------------------
Ran 14804 tests in 317.043s
FAILED (failures=1, skipped=1355, expected failures=5)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\shutil.py", line 617, in _rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\smith\\AppData\\Local\\Temp\\django__8ye7o59\\django_erlgw4w0\\tmp5km43j9l\\test_project'
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 --pair asgi.tests.ASGITest
***** Trying paired execution
***** 1 of 206: Check test pairing with absolute_url_overrides
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 13 test(s).
System check identified no issues (0 silenced).
.............
----------------------------------------------------------------------
Ran 13 tests in 4.066s
OK
Used shuffle seed: 2714725009 (given)
***** 2 of 206: Check test pairing with admin_autodiscover
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 11 test(s).
System check identified no issues (0 silenced).
...........
----------------------------------------------------------------------
Ran 11 tests in 4.172s
OK
Used shuffle seed: 2714725009 (given)
***** 3 of 206: Check test pairing with admin_changelist
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 83 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
..........ssssss...................................................................
----------------------------------------------------------------------
Ran 83 tests in 4.683s
OK (skipped=6)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** 4 of 206: Check test pairing with admin_checks
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 65 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (0 silenced).
.................................................................
----------------------------------------------------------------------
Ran 65 tests in 4.241s
OK
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
***** 5 of 206: Check test pairing with admin_custom_urls
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 17 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
.................
----------------------------------------------------------------------
Ran 17 tests in 3.997s
OK
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** 6 of 206: Check test pairing with admin_default_site
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 14 test(s).
System check identified no issues (0 silenced).
..............
----------------------------------------------------------------------
Ran 14 tests in 4.308s
OK
Used shuffle seed: 2714725009 (given)
***** 7 of 206: Check test pairing with admin_docs
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 71 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
.......................................................................
----------------------------------------------------------------------
Ran 71 tests in 6.156s
OK
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** 8 of 206: Check test pairing with admin_filters
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 56 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
..s.....................................................
----------------------------------------------------------------------
Ran 56 tests in 4.271s
OK (skipped=1)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** 9 of 206: Check test pairing with admin_inlines
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 91 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
.ssssssssssss..............................................................................
----------------------------------------------------------------------
Ran 91 tests in 6.872s
OK (skipped=12)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** 10 of 206: Check test pairing with admin_ordering
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 20 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
....................
----------------------------------------------------------------------
Ran 20 tests in 4.761s
OK
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** 11 of 206: Check test pairing with admin_registration
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 27 test(s).
System check identified no issues (0 silenced).
...........................
----------------------------------------------------------------------
Ran 27 tests in 4.582s
OK
Used shuffle seed: 2714725009 (given)
***** 12 of 206: Check test pairing with admin_scripts
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 218 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
.............................................................E..........................................................................................................................................................s.Exception ignored in: <_io.FileIO name='C:\\Users\\smith\\PycharmProjects\\django\\tests\\asgi\\urls.py' mode='rb' closefd=True>
ResourceWarning: unclosed file <_io.FileIO name='C:\\Users\\smith\\PycharmProjects\\django\\tests\\asgi\\urls.py' mode='rb' closefd=True>
======================================================================
ERROR: test_file_response (asgi.tests.ASGITest)
Makes sure that FileResponse works over ASGI.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 223, in __call__
return call_result.result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 433, in result
return self.__get_result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 292, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\asgi\tests.py", line 77, in test_file_response
response_start = await communicator.receive_output()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 85, in receive_output
raise e
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 74, in receive_output
return await self.output_queue.get()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 66, in __aexit__
self._do_exit(exc_type)
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 103, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
----------------------------------------------------------------------
Ran 218 tests in 106.600s
FAILED (errors=1, skipped=1)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
***** Found problem pair with admin_scripts
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 .\admin_scripts\ .\asgi\
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 218 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
.....................................................................E..................................................................................................................................................s.Exception ignored in: <_io.FileIO name='C:\\Users\\smith\\PycharmProjects\\django\\tests\\asgi\\urls.py' mode='rb' closefd=True>
ResourceWarning: unclosed file <_io.FileIO name='C:\\Users\\smith\\PycharmProjects\\django\\tests\\asgi\\urls.py' mode='rb' closefd=True>
======================================================================
ERROR: test_file_response (asgi.tests.ASGITest)
Makes sure that FileResponse works over ASGI.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 223, in __call__
return call_result.result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 433, in result
return self.__get_result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 292, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\asgi\tests.py", line 77, in test_file_response
response_start = await communicator.receive_output()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 85, in receive_output
raise e
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 74, in receive_output
return await self.output_queue.get()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 66, in __aexit__
self._do_exit(exc_type)
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 103, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
----------------------------------------------------------------------
Ran 218 tests in 102.811s
FAILED (errors=1, skipped=1)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 .\admin_scripts\ .\asgi\ --failfast
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django' with up to 8 processes
Using shuffle seed: 2714725009 (given)
Found 218 test(s).
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
......................................................E
======================================================================
ERROR: test_file_response (asgi.tests.ASGITest)
Makes sure that FileResponse works over ASGI.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 593, in run
self._callTestMethod(testMethod)
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 223, in __call__
return call_result.result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 433, in result
return self.__get_result()
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\sync.py", line 292, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "C:\Users\smith\PycharmProjects\django\tests\asgi\tests.py", line 77, in test_file_response
response_start = await communicator.receive_output()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 85, in receive_output
raise e
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\testing.py", line 74, in receive_output
return await self.output_queue.get()
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 66, in __aexit__
self._do_exit(exc_type)
File "C:\Users\smith\PycharmProjects\venv\django\lib\site-packages\asgiref\timeout.py", line 103, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
----------------------------------------------------------------------
Ran 55 tests in 28.541s
FAILED (errors=1)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\shutil.py", line 617, in _rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\smith\\AppData\\Local\\Temp\\django_84lgia__\\django_4vu32qt5\\tmp5n4kffn1\\test_project'
(django) PS C:\Users\smith\PycharmProjects\django\tests> python .\runtests.py --shuffle 2714725009 .\admin_scripts\ .\asgi\ --failfast --parallel=1
Testing against Django installed in 'c:\users\smith\pycharmprojects\django\django'
Using shuffle seed: 2714725009 (given)
Found 218 test(s).
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
...........................................................................................................s..............................................................................................................
----------------------------------------------------------------------
Ran 218 tests in 262.635s
OK (skipped=1)
Used shuffle seed: 2714725009 (given)
Destroying test database for alias 'default'...
(django) PS C:\Users\smith\PycharmProjects\django\tests>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment