8000 fixing · gridl/tiny_python_projects@44bf867 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44bf867

Browse files
committed
fixing
1 parent 2cbc145 commit 44bf867

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

20_password/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.PHONY: test
22

33
test:
4-
pytest -xv test.py
4+
pytest -xv test.py unit.py

20_password/test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
from subprocess import getstatusoutput
99

1010
prg = './password.py'
11-
input1 = 'exercises.csv'
12-
input2 = 'silly-exercises.csv'
1311

1412

1513
# --------------------------------------------------

20_password/unit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ def test_l33t():
2626
"""Test l33t"""
2727

2828
random.seed(1)
29-
assert (l33t('Money') == 'm0N3Y{')
30-
assert (l33t('Dollars') == 'D0ll4r5`')
29+
assert l33t('Money') == 'moNeY{'
30+
assert l33t('Dollars') == 'D0ll4r5`'
3131
random.seed(None)

0 commit comments

Comments
 (0)
0