Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- browser output when accessing localhost:3000/browse:
- Server Error
- Error: connect ECONNREFUSED 127.0.0.1:80
- This error happened while generating the page. Any console logs will be displayed in the terminal window.
- Call Stack
- <unknown> (Error: connect ECONNREFUSED
- 127.0.0.1 (80)
- TCPConnectWrap.afterConnect [as oncomplete]
- net.js (1145:16)
- Output from command line django tests:
- python3 manage.py test
- Creating test database for alias 'default'...
- System check identified no issues (0 silenced).
- .F.F.F
- ======================================================================
- FAIL: test_signup_api_success (backend.climateconnect_api.tests.test_user_views.TestSignUpView)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/mnt/devel/climateconnect/backend/climateconnect_api/tests/test_user_views.py", line 52, in test_signup_api_success
- self.assertEqual(response.status_code, status.HTTP_201_CREATED)
- AssertionError: 400 != 201
- ======================================================================
- FAIL: test_failed_login_api (backend.climateconnect_api.tests.test_user_views.TestUserLoginView)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/mnt/devel/climateconnect/backend/climateconnect_api/tests/test_user_views.py", line 28, in test_failed_login_api
- self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
- AssertionError: 401 != 400
- ======================================================================
- FAIL: test_successful_login_api (backend.climateconnect_api.tests.test_user_views.TestUserLoginView)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/mnt/devel/climateconnect/backend/climateconnect_api/tests/test_user_views.py", line 19, in test_successful_login_api
- self.assertEqual(response.status_code, status.HTTP_200_OK)
- AssertionError: 401 != 200
- ----------------------------------------------------------------------
- Ran 6 tests in 0.141s
- FAILED (failures=3)
- Destroying test database for alias 'default'...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement