Skip to content

Commit 8f8c9aa

Browse files
Removed variable checking on the test, exercise 5
1 parent dc4fe76 commit 8f8c9aa

File tree

1 file changed

+0
-11
lines changed
  • exercises/05-User-Inputed-Values

1 file changed

+0
-11
lines changed

exercises/05-User-Inputed-Values/test.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
import pytest,os,re,io,sys,mock,json
22
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
33

4-
5-
@pytest.mark.it('The variable age should exist')
6-
def test_variable_exists(capsys):
7-
import app
8-
try:
9-
app.age
10-
except AttributeError:
11-
raise AttributeError("The variable age should exist")
12-
13-
14-
154
@pytest.mark.it('Use the function print()')
165
def test_for_file_output(capsys):
176
with open(path, 'r') as content_file:

0 commit comments

Comments
 (0)