summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
AgeCommit message (Collapse)Author
2018-02-08Change in test_views and test_modelsadityacp
- Add views test to check active status for lesson and learning module - Change models test for module get_status method
2018-01-19Merge pull request #426 from adityacp/fix_lessons_redirectPrabhu Ramachandran
Fix lessons related bug
2018-01-19Change in views and templatesadityacp
- Add active field for exercise form - Fix views test case for creating exercise - Show question paper for exercise
2018-01-19Improve views test cases for lessons bugadityacp
2018-01-19Improve views test case for questionpaperadityacp
2018-01-18Add test to check if module is completed at unit leveladityacp
2018-01-18Update to latest changes from masteradityacp
2018-01-17Change views.py and test_views.pyadityacp
- Add a condition to disallow a teacher to become course creator - Add test to check if a teacher does not become course creator
2018-01-16Change in template, test_views, urls and viewsadityacp
- Allow teacher to edit questionpaper for a quiz - Add test to check if teacher is allowed to edit questionpaper for a quiz
2018-01-12Add views and models tests for course statusadityacp
2018-01-02Merge branch 'master' of https://github.com/FOSSEE/online_test into exerciseprathamesh
Conflicts Resolved: yaksh/templates/yaksh/courses.html yaksh/templates/yaksh/question.html
2018-01-02Allowed user to skip and view solution if the answer is correct.prathamesh
Added solution attribute to the Question model.
2018-01-02Update to latest changesadityacp
2017-12-27Exercise feature in video lessonsprathamesh
Exercise is same as quiz except for following differences: - no time limit - no marks weightage - no instruction page - skip denied for a particular time An attribute 'is_exercise' in Quiz determines whether the quiz is exercise or not. Questions contains 'min_time' attribute. For an exercise a question cannot be skipped for an allotted minimum time, after which either django or JavaScript makes Next button available. Implementation is as such due to complexity of our existing views and templates. Also, after min_time, same question with Next button is available to move on, assuming that solution is present in the video.
2017-12-14Change in test_views and viewsadityacp
- Add new tests for views - Pep8 changes in views
2017-12-14Change test filesadityacp
- Add new views test - Fix Selenium tests
2017-11-28Add views testsadityacp
2017-11-23Change urls, views, template, test_viewsadityacp
- Fix view answer paper for student - Fix existing views test cases
2017-11-13Added test case for add, update and removeprathamesh
2017-11-10Optimised the code and added dialect while reading to handle differentprathamesh
delimiters
2017-11-10Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
upload_users_csv
2017-11-08Fix test casesankitjavalkar
2017-11-07Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
detailed_csv_download_quiz Resolved Conflicts: CHANGELOG.txt
2017-11-06Upload user to the course via csv.prathamesh
The csv takes firstname, lastname and email. User and Profile are created with username and password been same as email. Following cases are handled for csv upload: - wrong csv headders - missing csv values - already existing users - invalid csv
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-26CSV download for quiz enhancedprathamesh
CSV download for a quiz now shows question wise grades. Also, for a given attempt all the users from the course are entered in the CSV. If the user has not attempted then a dash '-' is put under the grades. Also, handles random questions, if a question paper has questions selected from pool of questions then all the questions are entered in the CSV. 'NA' is put under the question grade if that question has not come in the question/answer paper for that given user.
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