Open SerraKD opened 4 months ago
I tried to built few tests in movies app and films app for forms and views, whenever i run the tests i am getting below error.
"Found 1 test(s).
Creating test database for alias 'default'...
Traceback (most recent call last):
django.db.utils.OperationalError: near "None": syntax error"
I believe the error is caused by movies.0004_alter_movie_our_rating migration. Need to delete existing migrations and make migrations again.
Explanation of migration '0004_alter_movie_our_rating' : I added emoji picker widget to add emojis for movie ratings as admin, but i decided to not use the widget because i could add emojis to text field without any extra widgets.
At this point of the project, the deployed site works without any issues, i dont have any errors in the workspace. I dont want to alter the migrations because it shows the development process clearly and i dont want to cause any unexpected errors.
I really wanted to include basic automated testing to improve my skills, so i will be adding it to the project after submission and getting the grade.
Epic Description: Automated testing to check projects functionality.
Tasks: