Systers, an AnitaB.org community

Write a test to make sure a user does not delete unauthorised tasks (Mentorship-Backend)

Prerequisite:

Have a GitHub account || Know how to use git || Setup and run the project on your local development environment

Steps:

  • Create a copy of the project into your account GitHub by forking systers/mentorship-backend project.
  • Clone the project onto your local development environment
  • [Optional] Create a branch to make your changes
  • Write one or more tests for the DELETE /mentorship_relation/{request_id}/task API, within the tests/tasks/test_api_delete_task.py file, to make sure a user that is not in a certain mentorship relation cannot delete that relation's tasks
  • Commit your change through the interface using our Commit message Style Guide.
  • Submit a Pull Request, targeting gci-dev branch, following the template provided in the description.

Resources:

  • If you need help or get lost, post a "New topic" in the coding-backend-tasks stream.
  • Pull request template at this link.
  • Commit message Style Guide can be found here.
  • How to fork, clone and setup remotes the project into your account wiki page can be found here.
  • File you have to update can be found here

Work Submission:

Submit a link to Pull Request (PR) created with the change

Task tags

  • python
  • git
  • backend
  • github

Students who completed this task

_daksha_, BartekPacia, smsingh

Task type

  • code Code
  • done_all Quality Assurance
close

2019