Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8bfb202

Browse files
Update tests.py
1 parent 473ab8f commit 8bfb202

File tree

1 file changed

+3
-3
lines changed
  • exercises/05-Defining-vs-Calling-a-function

1 file changed

+3
-3
lines changed

‎exercises/05-Defining-vs-Calling-a-function/tests.py‎

Lines changed: 3 additions & 3 deletions
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("Create a function 'multi'")
3+
@pytest.mark.it("Create the function 'multi'")
44
def test_declare_variable():
55
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
66
with open(path, 'r') as content_file:
@@ -20,6 +20,6 @@ def test_for_return_something(capsys, app):
2020
def test_for_integer(capsys, app):
2121
assert app.multi(3,4) == 12
2222

23-
@pytest.mark.it('The function multi must receive two numbers and return their multiplication. Testing with different values.')
23+
@pytest.mark.it('The function multi must receive two numbers and return their multiplication. Testing with different values')
2424
def test_for_function_return(capsys, app):
25-
assert app.multi(10, 6) == 60
25+
assert app.multi(10, 6) == 60

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /