Skip to content

Commit 4918514

Browse files
committed
pytest
1 parent 02113e3 commit 4918514

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

exercises/15-Techno_beat/test.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import io
2+
import os
3+
import sys
4+
sys.stdout = buffer.getvalue()
5+
6+
7+
import app.py
8+
import pytest
9+
10+
@pytest.mark.it("")
11+
12+
@pytest.mark.it("")
13+
def test_():
14+
f = open(os.path.dirname(os.path.abspath(__file__)) +'/app.py')
15+
content = f.read()
16+
assert conten.fint()
17+
18+
19+
@pytest.mark.it("")
20+
def test_():
21+
f = open(os.path.dirname(os.path.abspath(__file__)) +'/app.py')
22+
content = f.read()
23+
assert content.find()

0 commit comments

Comments
 (0)