Last active
June 6, 2019 07:27
-
-
Save finestructure/8b3e757d528252c59a8047c43cf12a97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! ◰³ james ~/P/E/james ⎇ develop *$- backend pytest tests/test_magic_links.py::MagicLinkTests::test_reuse_2 | |
=========================================================================================================================== test session starts =========================================================================================================================== | |
platform darwin -- Python 3.7.2, pytest-4.6.2, py-1.8.0, pluggy-0.12.0 | |
Django settings: test_settings (from ini file) | |
rootdir: /Users/sas/Projects/Enervolution/james/backend, inifile: setup.cfg | |
plugins: django-3.5.0 | |
collected 1 item | |
tests/test_magic_links.py | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
> /Users/sas/Projects/Enervolution/james/backend/tests/test_magic_links.py(41)test_reuse_2() | |
-> res = self.client.get('/api/users/me/' + qs, follow=True) | |
(Pdb) c | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
> /Users/sas/.pyenv/versions/3.7.2/envs/james/lib/python3.7/site-packages/sesame/middleware.py(34)process_request() | |
-> if hasattr(request, "session") and user is not None: | |
(Pdb) hasattr(request, "session") | |
True | |
(Pdb) user is not None | |
True | |
(Pdb) n | |
> /Users/sas/.pyenv/versions/3.7.2/envs/james/lib/python3.7/site-packages/sesame/middleware.py(35)process_request() | |
-> login(request, user) | |
(Pdb) c | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
> /Users/sas/.pyenv/versions/3.7.2/envs/james/lib/python3.7/site-packages/sesame/middleware.py(34)process_request() | |
-> if hasattr(request, "session") and user is not None: | |
(Pdb) hasattr(request, "session") | |
True | |
(Pdb) user is not None | |
False | |
(Pdb) n | |
> /Users/sas/.pyenv/versions/3.7.2/envs/james/lib/python3.7/site-packages/sesame/middleware.py(53)process_request() | |
-> if not hasattr(request, "user"): | |
(Pdb) hasattr(request, "user") | |
True | |
(Pdb) c | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
> /Users/sas/.pyenv/versions/3.7.2/envs/james/lib/python3.7/site-packages/sesame/middleware.py(34)process_request() | |
-> if hasattr(request, "session") and user is not None: | |
(Pdb) hasattr(request, "session") | |
True | |
(Pdb) user is not None | |
False | |
(Pdb) n | |
> /Users/sas/.pyenv/versions/3.7.2/envs/james/lib/python3.7/site-packages/sesame/middleware.py(53)process_request() | |
-> if not hasattr(request, "user"): | |
(Pdb) hasattr(request, "user") | |
True | |
(Pdb) c | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
F [100%] | |
================================================================================================================================ FAILURES ================================================================================================================================= | |
_______________________________________________________________________________________________________________________ MagicLinkTests.test_reuse_2 _______________________________________________________________________________________________________________________ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment