Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.89 KB | None | 0 0
  1. WARNINGS:
  2. trader.Trader.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
  3.         HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
  4.  
  5. System check identified 1 issue (2 silenced).
  6. .........[2019-08-25 19:56:32,705: WARNING/MainProcess] Brute force from 127.0.0.1
  7. .[2019-08-25 19:56:33,201: WARNING/MainProcess] Brute force from 127.0.0.1
  8. F...................[2019-08-25 19:56:39,424: WARNING/MainProcess] Brute force from 127.0.0.1
  9. ...............[2012-01-14 05:00:00,000: WARNING/MainProcess] assertTask doesn’t work for now.
  10. ..............[2019-08-25 19:56:46,741: WARNING/MainProcess] Brute force from 127.0.0.1
  11. F./usr/local/lib/python3.6/site-packages/django/db/models/fields/__init__.py:1451: RuntimeWarning: DateTimeField User.date_joined received a naive datetime (2016-01-01 00:00:00) while time zone support is active.
  12.   RuntimeWarning)
  13. [2019-08-25 19:56:47,925: WARNING/MainProcess] Brute force from 127.0.0.1
  14. F......................................................
  15. ======================================================================
  16. FAIL: test_login (autofut.apps.accounts.tests.test_views.LoginViewTests)
  17. ----------------------------------------------------------------------
  18. Traceback (most recent call last):
  19.   File "/app/autofut/apps/accounts/tests/test_views.py", line 31, in test_login
  20.     302
  21. AssertionError: 200 != 302
  22.  
  23. ======================================================================
  24. FAIL: test_order_flow_for_anonymous (autofut.apps.delivery.tests.test_views.NewOrderFlowTests)
  25. ----------------------------------------------------------------------
  26. Traceback (most recent call last):
  27.   File "/app/autofut/apps/delivery/tests/test_views.py", line 68, in test_order_flow_for_anonymous
  28.     self.assertRedirects(r, '/delivery/activate/', fetch_redirect_response=False)
  29.   File "/usr/local/lib/python3.6/site-packages/django/test/testcases.py", line 294, in assertRedirects
  30.     % (response.status_code, status_code)
  31. AssertionError: 200 != 302 : Response didn't redirect as expected: Response code was 200 (expected 302)
  32.  
  33. ======================================================================
  34. FAIL: test_login (autofut.apps.discounts.tests.test_views.RegistrationDiscountTestCase)
  35. ----------------------------------------------------------------------
  36. Traceback (most recent call last):
  37.  File "/app/autofut/apps/discounts/tests/test_views.py", line 57, in test_login
  38.    self.assertRedirects(r, '/')
  39.  File "/usr/local/lib/python3.6/site-packages/django/test/testcases.py", line 294, in assertRedirects
  40.    % (response.status_code, status_code)
  41. AssertionError: 200 != 302 : Response didn't redirect as expected: Response code was 200 (expected 302)
  42.  
  43. ----------------------------------------------------------------------
  44. Ran 116 tests in 31.705s
  45.  
  46. FAILED (failures=3)
  47. Destroying test database for alias 'default'...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement