Skip to content

Commit ea2543b

Browse files
authored
Merge pull request 4GeeksAcademy#40 from JimenaEB/master
Fix 10.1. Changed .js to .py
2 parents 099079f + 76d0752 commit ea2543b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def addNumbers(a,b)
22
# This is the function body. Write your code here.
3-
3+
44

55
# Do not change the code below
66
print(addNumbers(3,4))
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import pytest
2+
import app
3+
4+
@pytest.mark.it('Function should be called with the sum of 3 + 4')
5+
def test_for_return():
6+
from app import addNumbers
7+
result = addNumbers(3,4)
8+
assert result == 7
9+

0 commit comments

Comments
 (0)