Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ❯ DJANGO_SETTINGS_MODULE=babybuddy.settings.test python manage.py test
- Found 292 test(s).
- Creating test database for alias 'default'...
- Cache table 'cache_default' already exists.
- System check identified no issues (0 silenced).
- ............................................................................................................................................FFFFFF..................................................................................................................................................
- ======================================================================
- FAIL: test_rolling_sessions (babybuddy.tests.tests_views.ViewsTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/victor/dev/babybuddy/.venv/lib/python3.10/site-packages/django/test/utils.py", line 461, in inner
- return func(*args, **kwargs)
- File "/home/victor/dev/babybuddy/babybuddy/tests/tests_views.py", line 50, in test_rolling_sessions
- self.assertNotEqual(session1, session2)
- AssertionError: 'Set-Cookie: sessionid=""; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/; SameSite=Lax' == 'Set-Cookie: sessionid=""; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/; SameSite=Lax'
- ======================================================================
- FAIL: test_root_router (babybuddy.tests.tests_views.ViewsTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/victor/dev/babybuddy/babybuddy/tests/tests_views.py", line 38, in test_root_router
- self.assertEqual(page.url, "/dashboard/")
- AssertionError: '/login/?next=/' != '/dashboard/'
- - /login/?next=/
- + /dashboard/
- ======================================================================
- FAIL: test_user_settings (babybuddy.tests.tests_views.ViewsTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/victor/dev/babybuddy/babybuddy/tests/tests_views.py", line 55, in test_user_settings
- self.assertEqual(page.status_code, 200)
- AssertionError: 302 != 200
- ======================================================================
- FAIL: test_user_unlock (babybuddy.tests.tests_views.ViewsTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/victor/dev/babybuddy/babybuddy/tests/tests_views.py", line 91, in test_user_unlock
- self.assertEqual(page.status_code, 200)
- AssertionError: 302 != 200
- ======================================================================
- FAIL: test_user_views (babybuddy.tests.tests_views.ViewsTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/victor/dev/babybuddy/babybuddy/tests/tests_views.py", line 67, in test_user_views
- self.assertEqual(page.status_code, 403)
- AssertionError: 302 != 403
- ======================================================================
- FAIL: test_welcome (babybuddy.tests.tests_views.ViewsTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/victor/dev/babybuddy/babybuddy/tests/tests_views.py", line 98, in test_welcome
- self.assertEqual(page.status_code, 200)
- AssertionError: 302 != 200
- ----------------------------------------------------------------------
- Ran 292 tests in 162.784s
- FAILED (failures=6)
- Destroying test database for alias 'default'..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement