Skip to content

Commit c622d46

Browse files
authored
Create test_text_preprocessing.py
1 parent 72d3e2c commit c622d46

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎tests/test_text_preprocessing.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from nlp_model.text_preprocessor import clean_text
2+
3+
4+
def test_text_cleaning():
5+
text = "Hello!!! How are you??"
6+
result = clean_text(text)
7+
8+
assert result == "hello how are you"

0 commit comments

Comments
 (0)