From 4191558b826a83fdef4e47b81bbd5dcfb9c9ad53 Mon Sep 17 00:00:00 2001 From: ashkan0201 Date: Thu, 5 Oct 2023 00:28:58 +0330 Subject: [PATCH] fixed --- .../test_ashcount.cpython-38-pytest-6.1.1.pyc | Bin 3625 -> 3630 bytes test/test_ashcount.py | 18 +++++++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) 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 4886fcec281ae1d8d500c8220ba4c42349a3d67d..a5736d99190e9fe7d781dfd40ca69e08ee1b1253 100644 GIT binary patch delta 87 zcmZ1}vrdLHl$V$5)6fGym*{Wa$heY?LlnxJ9L@1!avdu#lZo); fURK%7MV$K>L3~Ej&5qnxz)U7HNs!cJ7v84;*m4_x delta 109 zcmZ1{vr>jLl$V$5@_E_R%^NwFGcxjS-odz%jgfD1CdUgwfs)kXlK6tk_~iW3ypq%+ i!_D!WcNm4xg^k1}CveJcPUqf+DQ7GRlAG+w`xF2(f+nH> 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