Closed alifhughes closed 3 years ago
One docker-compose exec api ./manage.py test
failure was found. Otherwise it looks good, the test case could be split up but since it's not too big and no other tests cases need to share the setup, the current code seems fine for now.
FAIL: coalesce.opportunities.test.test_views:TestOpportunitiesListTestCase.test_post_request_with_query_params_returns_subset
vi +45 coalesce/opportunities/test/test_views.py # test_post_request_with_query_params_returns_subset
eq_(response.status_code, status.HTTP_201_CREATED)
AssertionError: 403 != 201
One
docker-compose exec api ./manage.py test
failure was found. Otherwise it looks good, the test case could be split up but since it's not too big and no other tests cases need to share the setup, the current code seems fine for now.FAIL: coalesce.opportunities.test.test_views:TestOpportunitiesListTestCase.test_post_request_with_query_params_returns_subset vi +45 coalesce/opportunities/test/test_views.py # test_post_request_with_query_params_returns_subset eq_(response.status_code, status.HTTP_201_CREATED) AssertionError: 403 != 201
Failed test came after I had merged main's changes into my own and there was some new auth code, sorry about that 🤦 Fixed now
Opportunities
model