summaryrefslogtreecommitdiff
path: root/yaksh/fixtures/sample_lesson_toc.yaml
diff options
context:
space:
mode:
authorankitjavalkar2020-10-07 12:04:12 +0530
committerGitHub2020-10-07 12:04:12 +0530
commit0e04d98e66b53763926af8027cbd275d890bfab4 (patch)
treee225826a16daf9a9485607457d5d67b568753553 /yaksh/fixtures/sample_lesson_toc.yaml
parented81054c05ff297ea241ce08664e0d2323da115c (diff)
parentc6c57869fe653d2ea0502017a9fb15f2f745491b (diff)
downloadonline_test-0e04d98e66b53763926af8027cbd275d890bfab4.tar.gz
online_test-0e04d98e66b53763926af8027cbd275d890bfab4.tar.bz2
online_test-0e04d98e66b53763926af8027cbd275d890bfab4.zip
Merge pull request #774 from adityacp/upload_toc
Add table of contents for the lessons
Diffstat (limited to 'yaksh/fixtures/sample_lesson_toc.yaml')
-rw-r--r--yaksh/fixtures/sample_lesson_toc.yaml66
1 files changed, 66 insertions, 0 deletions
diff --git a/yaksh/fixtures/sample_lesson_toc.yaml b/yaksh/fixtures/sample_lesson_toc.yaml
new file mode 100644
index 0000000..8030d5e
--- /dev/null
+++ b/yaksh/fixtures/sample_lesson_toc.yaml
@@ -0,0 +1,66 @@
+# content_type 1: Topic, 2: Grading quiz, 3: Exercise, 4: Poll
+---
+summary: |-
+ Sample lesson quiz 1
+type: |-
+ mcq
+language: |-
+ other
+description: |-
+ Choose the letter from the following
+points: 1.0
+testcase:
+- test_case_type: |-
+ mcqtestcase
+ options: |-
+ A
+ correct: false
+- test_case_type: |-
+ mcqtestcase
+ options: |-
+ B
+ correct: true
+- test_case_type: |-
+ mcqtestcase
+ options: |-
+ C
+ correct: false
+- test_case_type: |-
+ mcqtestcase
+ options: |-
+ D
+ correct: false
+active: true
+topic: 'Dummy1'
+content_type: 2
+time: '00:02:00'
+---
+summary: |-
+ Sample lesson quiz 2
+type: |-
+ mcq
+language: |-
+ python
+description: |-
+ What will be the output of the statement
+ <br>
+ print(1+2)
+points: 1.0
+testcase:
+- test_case_type: |-
+ integertestcase
+ correct: '3'
+active: true
+topic: 'Dummy2'
+content_type: 2
+time: '00:05:00'
+---
+name: 'Sample lesson topic 1'
+description: 'Topic 1 description'
+content_type: 1
+time: '00:00:00'
+---
+name: 'Sample lesson topic 2'
+description: 'Topic 2 description'
+content_type: 1
+time: '00:01:00'