Skip to content

Commit a07a6e9

Browse files
committed
add boilerplate for tests
1 parent 55ee02a commit a07a6e9

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
default: pylint pytest
22

33
pylint:
4-
find . -iname "*.py" -not -path "./tests/*" | xargs -n1 -I {} pylint --output-format=colorized {}; true
4+
find . -iname "*.py" -not -path "./tests/test_*" | xargs -n1 -I {} pylint --output-format=colorized {}; true
55

66
pytest:
77
PYTHONDONTWRITEBYTECODE=1 pytest -v --color=yes
8-

tests/test_challengify.py

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
import unittest
3+
4+
5+
class TestNotebookActions(unittest.TestCase):
6+
7+
def test_clean_notebook_output(self):
8+
pass
9+
10+
def test_clean_notebook_stderr(self):
11+
pass
12+
13+
def test_clean_cells_with_clean_tag(self):
14+
pass
15+
16+
def test_delete_cells_with_delete_tag_(self):
17+
pass
18+
19+
def test_delete_content_surrounded_by_delete_delimiters(self):
20+
pass
21+
22+
def test_replace_content_surrounded_by_challengify_delimiters(self):
23+
pass
24+
25+
26+
if __name__ == '__main__':
27+
unittest.main()

0 commit comments

Comments
 (0)