Skip to content

Commit 103fc01

Browse files
corrections for test build
1 parent ecbad21 commit 103fc01

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2424
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
2525
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
26-
- name: Test with pytest
26+
- name: Test with unittest
2727
run: |
2828
python -m unittest

pascal_triangle/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ run:
1717
$(PYTHON) pascal.py
1818

1919
unittest:
20-
$(PYTHON) -m unittest
20+
(cd ../; $(PYTHON) -m unittest)
2121

2222

pascal_triangle/test/test_triangle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
import pascal
2+
import pascal_triangle.pascal as pascal
33

44

55
class TestPascalsTriangle(unittest.TestCase):

0 commit comments

Comments
 (0)