File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,27 @@ Install Python
1212
1313### Writing Tests
1414
15- There are two things your tests will need.
15+ There are two parts your tests will need: a task number and a feedback message .
1616
17- * a ` class Test## ` specifying the task number
17+ ##### Task number
1818
19- class TestO1:
19+ Class title specifying the task number: ` class Test## `
20+
21+ class Test01:
22+ # tests here
2023
2124 class Test02:
25+ # tests here
2226
23- * a test method providing the feedback message and starting with ` test_ `
27+ ##### Feedback message
28+
29+ Test method providing the feedback message and starting with ` test_ `
2430
2531 class Test01:
26- def test_b_is_not_True (self):
32+ def test_b_is_not_true (self):
2733 assert b == True
34+ # fails with message "b is not true"
35+
2836 def test_a_is_not_one(self):
2937 assert a == 1
38+ # fails with message "a is not one"
You can’t perform that action at this time.
0 commit comments