Skip to content

Commit fb43968

Browse files
authored
Update test.py
1 parent 78ac14e commit fb43968

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/04.1-count_on/test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def 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'")
99
def 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()")
2727
def 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

0 commit comments

Comments
 (0)