We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473ab8f commit 8bfb202Copy full SHA for 8bfb202
exercises/05-Defining-vs-Calling-a-function/tests.py
@@ -1,6 +1,6 @@
1
import io, sys, pytest, os, re, mock
2
3
-@pytest.mark.it("Create a function 'multi'")
+@pytest.mark.it("Create the function 'multi'")
4
def test_declare_variable():
5
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
6
with open(path, 'r') as content_file:
@@ -20,6 +20,6 @@ def test_for_return_something(capsys, app):
20
def test_for_integer(capsys, app):
21
assert app.multi(3,4) == 12
22
23
-@pytest.mark.it('The function multi must receive two numbers and return their multiplication. Testing with different values.')
+@pytest.mark.it('The function multi must receive two numbers and return their multiplication. Testing with different values')
24
def test_for_function_return(capsys, app):
25
- assert app.multi(10, 6) == 60
+ assert app.multi(10, 6) == 60
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments