summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
AgeCommit message (Collapse)Author
2017-10-27Edit Profile Bug Fixprathamesh
edit_profile view had a decorator has_profile. So, has_profile will redirect to edit_profile if no profile. But then if I submit my profile form then the has_profile will again redirect to edit_profile, instead of updating my profile. So this cycle will continue endlessly for a user with no profile, and will never be able to create/update his profile! Will face this when user is created via csv upload, django admin or oauth login without pipeline. Also, profile instance is passed to the profile form via get query, which will fail if no profile. Added a views test for the above. Fixed. Additionally that can be thought of later: The has_profile decorator is used for few views only, so one can access views if they know the url, even if they do not have a profile. email edit option for users
2017-10-06Add test for shuffle questions and fix broken tests in test_viewsadityacp
2017-10-05Use MCQ/MCC testcases id instead of options to validate answermaheshgudi
2017-10-04Rename class TestCheck to TestQuestionPaper in test_views.pyadityacp
2017-10-04Add tests to check updated Answerpaper marksadityacp
2017-08-24Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions
2017-08-24Add review changes and more testsankitjavalkar
2017-08-24Add a has_profile decoratorankitjavalkar
2017-08-22Change test_views for send mail testadityacp
2017-08-18Adds test cases for yamlmahesh
- Fixes selenium test cases, test_models, test_views - Fixes create demo question paper
2017-08-17Change test_views.pyadityacp
- Remove validation test case for send mail - Pep8 changes
2017-07-31Adds yaml serialization to download and upload questionsmahesh
2017-06-13Resolve conflicts with latest changesadityacp
2017-06-12Change views tests to check send emailadityacp
2017-05-25Change test_views.py
- Add test for email_verified decorator - Add tests to check for non moderator logins
2017-05-25Change tests in test_views.pyadityacp
2017-05-19Add tests for views functionsadityacp
2017-05-15Add tests to check bulk email sendingadityacp
2017-05-03Add views tests for email verification and activationadityacp
2017-04-05Add multiple fixes based on code reviewankitjavalkar
2017-03-31Multiple changes to Course:ankitjavalkar
- Allow a start and end time for Course enrollment - Allow Course to be editable
2017-03-10Change views and modelsadityacp
- Remove Fixed Question Model - Create a fixed question order attribute in models
2017-03-10Change models and views test to get fixed questionsadityacp
2017-02-07Add view test case for password reset and password changeankitjavalkar
2017-01-03modified editing instructions. Instructions are now initialized in forms and ↵maheshgudi
not fetched from a file
2016-12-20Fix errors and rename resourcesankitjavalkar
- code_evaluator module and class renamed to grader - Test cases fixed - Comments removed - weight variable renamed to mark
2016-11-30fix views tests for quizadityacp
2016-10-27Add views test for add_course viewankitjavalkar
2016-10-04changes in test view as redirect url changed.prathamesh
2016-09-23Added teardown to the grader view testprathamesh
2016-09-23Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
regrade_papers Resolved Conflicts: yaksh/models.py yaksh/test_models.py yaksh/urls.py yaksh/views.py
2016-09-23Regrade Featureprathamesh
A question can be regraded for a given quiz. Whole quiz can be regraded. Particular user paper can be regraded. Moved validate_answer from views to models. regrade method also updates the answer i.e. marks and correctness. Also, the answer paper percentage is updated.
2016-09-20removed user creation for demo courseadityacp
2016-09-19removed string comparison for demo courseadityacp
2016-09-16changed course template to view demo courseadityacp
2016-09-06changed test cases to reflect changes in addquiz view functionmaheshgudi
2016-09-02refactor in test_models and updated with latest changesadityacp
2016-09-01Merge pull request #105 from adityacp/stdin_stdout_evaluatorPrabhu Ramachandran
Stdin stdout evaluators
2016-08-31Added testcases for model and view.prathamesh
2016-08-25changed testcases to test questions dumpadityacp
2016-07-28rebase changes and changed expected input format in cpp testsadityacp
2016-07-09Changed url pattern in views test to pass the testprathamesh
2016-07-08Add timezones while creating quizzes in view testsankitjavalkar
2016-07-08Add further tests for viewsankitjavalkar
2016-07-08Add tests for viewsankitjavalkar