Skip to content

Commit df38c19

Browse files
committed
Tests without installing module itself
1 parent cacc260 commit df38c19

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ jobs:
3636
- name: Install dev deps
3737
run: pip install -r requirements-dev.txt
3838

39-
- name: Install password_validator
40-
run: pip install .
41-
4239
- name: Run lint
4340
run: pylint src
4441

tests/test_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from password_validator import lib
2+
from src.password_validator import lib
33

44

55
class TestLib(unittest.TestCase):

tests/test_password_validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
2-
from password_validator import PasswordValidator
3-
2+
# from password_validator import PasswordValidator
3+
from src.password_validator import PasswordValidator
44

55
class TestPasswordValidator(unittest.TestCase):
66
def setUp(self):

0 commit comments

Comments
 (0)