File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55def test_variable_exists ():
66 assert app .new_list != None
77
8- @pytest .mark .it ("The variable 'new_list' value should contain data-types of 'dict' and 'list'" )
8+ @pytest .mark .it ("The variable 'new_list' should contain data-types of 'dict' and 'list'" )
99def test_variable_value ():
1010 assert app .new_list == [[2 , 1 ], {'name' : 'juan' }]
1111
@@ -23,7 +23,7 @@ def test_if():
2323 regex = re .compile (r"if(\s)" )
2424 assert bool (regex .search (content )) == True
2525
26- @pytest .mark .it ("you should use print()" )
26+ @pytest .mark .it ("You should use print()" )
2727def test_print ():
2828 with open (path , 'r' ) as content_file :
2929 content = content_file .read ()
@@ -35,4 +35,4 @@ def test_all_data_type(capsys, app):
3535 app ()
3636 captured = capsys .readouterr ()
3737
38- assert "[[2, 1], {'name': 'juan'}]\n " in captured .out
38+ assert "[[2, 1], {'name': 'juan'}]\n " in captured .out
You can’t perform that action at this time.
0 commit comments