diff --git a/test/__pycache__/test_ashcount.cpython-38-pytest-6.1.1.pyc b/test/__pycache__/test_ashcount.cpython-38-pytest-6.1.1.pyc index 4886fce..a5736d9 100644 Binary files a/test/__pycache__/test_ashcount.cpython-38-pytest-6.1.1.pyc and b/test/__pycache__/test_ashcount.cpython-38-pytest-6.1.1.pyc differ diff --git a/test/test_ashcount.py b/test/test_ashcount.py index ad06112..ea82893 100644 --- a/test/test_ashcount.py +++ b/test/test_ashcount.py @@ -8,19 +8,19 @@ from module.ashcount import counter , py_counter def tset_counter1(): - assert counter.line_counter(path="text_test.txt") == 4 + assert counter.line_counter(path="./test/text_test.txt") == 4 def tset_counter2(): - assert counter.counting_main_lines(path="text_test.txt") == 2 + assert counter.counting_main_lines(path="./test/text_test.txt") == 2 def tset_counter3(): - assert counter.word_count(path="text_test.txt") == 11 + assert counter.word_count(path="./test/text_test.txt") == 11 -def test_py_counter1(): - assert py_counter.python_line_count(path="python_test.py") == 8 +def tset_counter4(): + assert py_counter.python_line_count(path="./test/python_test.py") == 8 -def test_py_counter2(): - assert py_counter.python_comment_count(path="python_test.py") == 2 +def tset_counter5(): + assert py_counter.python_comment_count(path="./test/python_test.py") == 2 -def test_py_counter3(): - assert py_counter.pure_python_code(path="python_test.py") == 3 +def tset_counter6(): + assert py_counter.pure_python_code(path="./test/python_test.py") == 3