Skip to content

Commit 9fcc946

Browse files
authored
Update test.py
1 parent c05b1fd commit 9fcc946

File tree

1 file changed

+3
-3
lines changed
  • exercises/03-Print-Variables-In-The-Console

1 file changed

+3
-3
lines changed

exercises/03-Print-Variables-In-The-Console/test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
import re
99
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
1010

11-
@pytest.mark.it("Create a variable named 'color' with the string value red")
11+
@pytest.mark.it('Create a variable named "color" with the string value "red"')
1212
def test_declare_variable():
1313
result = app.color
1414
assert result == "red"
1515

16-
@pytest.mark.it('Print on the console the value of the variable ')
16+
@pytest.mark.it('Print on the console the value of the variable')
1717
def test_for_printing_variable():
1818

1919
with open(path, 'r') as content_file:
@@ -24,4 +24,4 @@ def test_for_printing_variable():
2424
@pytest.mark.it('The printed value on the console should be "red"')
2525
def test_for_file_output(capsys):
2626
captured = buffer.getvalue()
27-
assert "red\n" in captured
27+
assert "red\n" in captured

0 commit comments

Comments
 (0)