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
12
12
13
13
### Writing Tests
14
14
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 .
16
16
17
- * a ` class Test## ` specifying the task number
17
+ ##### Task number
18
18
19
- class TestO1:
19
+ Class title specifying the task number: ` class Test## `
20
+
21
+ class Test01:
22
+ # tests here
20
23
21
24
class Test02:
25
+ # tests here
22
26
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_ `
24
30
25
31
class Test01:
26
- def test_b_is_not_True (self):
32
+ def test_b_is_not_true (self):
27
33
assert b == True
34
+ # fails with message "b is not true"
35
+
28
36
def test_a_is_not_one(self):
29
37
assert a == 1
38
+ # fails with message "a is not one"
You can’t perform that action at this time.
0 commit comments