Skip to content

Commit 355a13a

Browse files
authored
Update tests.py
1 parent a229f30 commit 355a13a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/10-Array-Methods/tests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import io, sys, pytest, os, re, mock
22

3-
@pytest.mark.it("Declare the function sort_names")
3+
@pytest.mark.it("Declare the function 'sort_names'")
44
def test_declare_variable():
55
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
66
with open(path, 'r') as content_file:
@@ -13,7 +13,7 @@ def test_declare_variable():
1313
def test_for_functon_existence(capsys, app):
1414
assert callable(app.sort_names)
1515

16-
@pytest.mark.it('The function sort_names must accept 1 parameter and return a sorted one')
16+
@pytest.mark.it('The function sort_names must accept a list and return a sorted one')
1717
def test_for_file_output(capsys):
1818
import app
1919
captured = capsys.readouterr()

0 commit comments

Comments
 (0)