-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add create_task function #74
Conversation
6a544b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you need to use users fixture instead of creating them again try:
- create conftest.py file and put it in falcon directory
- move users fixture there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or , plz notice the changes of the models bt PR #66 , and update the code
I know, I'm on it. |
6a544b2
to
9138a1f
Compare
- Add a function "create_task" to add task to DB - Add tests for the above function Co-Authored-By: Kobi Hakimi <kobihk@users.noreply.github.com>
9138a1f
to
c1f2ad1
Compare
Sorry for the force push, had some issues with update from main .. |
Please change the PR description to be meaningful. For example: "this PR adds the ability to ..." or "this PR fixes a bug where ..." or "this PR changes the way we do ... because ..." |
Done |
Pulled changes from main and resolved conflicts |
Change the negative tests of create_task to be one parameterized test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great implementation!!!
@orzionpour Let us know which one you want to merge first. #74 or #83 |
@natifridman doesn’t matter which one, after merging one of them i’ll let you know when the second is ready. Thanks |
Fixes #69
This PR adds the ability to create new tasks and save them to the DB.
Changes you made
- Add a function "create_task" to add task to DB
This function add the ability to create a new task and save it to DB.
- Add tests for the above function