summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
AgeCommit message (Collapse)Author
2018-06-07Fix test for course status and format error message properlyadityacp
2018-06-07Add tests for viewsadityacp
2018-06-07Pep8 changesadityacp
2018-06-07Merge pull request #469 from adityacp/enhance_course_statusPrabhu Ramachandran
Enhance course status
2018-05-29Change in models, templates, jsadityacp
- Remove else condition in get_current_unit model method - Reduce ajax timeout in course.js - Create a new model method to set current unit - Change views test
2018-05-14Add recipients to BCC field in send_bulk_mail functionankitjavalkar
2018-04-04Change and add test for course progressadityacp
2018-03-21Merge pull request #456 from ankitjavalkar/preview-qpPrabhu Ramachandran
Preview QuestionPaper as an HTML
2018-03-07Multiple fixes:ankitjavalkar
- Add views test cases in test_views.py - Add minutes unit to preview_questionpaper template - Add error handling in views when random user accesses questionpaper
2018-02-27Change in models.py, views.py, urls.py, test_views.py, courses.htmladityacp
- Allow only deep cloning of a course - Remove tests for shallow course clone
2018-02-22Change templates, test_views.py, urls.py, views.pyadityacp
- Change copy_type to shallow and deep
2018-02-20Update to latest changesadityacp
2018-02-20Add additional tests for clone courseadityacp
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