From 72679591e68a9cdd3129ee32756279242fb454ab Mon Sep 17 00:00:00 2001 From: Nitesh Date: Thu, 26 Oct 2023 02:24:38 +0530 Subject: [PATCH] updated content --- tests/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_app.py b/tests/test_app.py index fc49a71..d71fd19 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -11,7 +11,7 @@ def test_classify_text(self): with open("../models/spam_model.pkl", "rb") as f: model = pickle.load(f) - self.assertEqual(classify_text("You've won a prize!", model), "Spam") #It will pass text if come spam then pass + self.assertEqual(classify_text("You've won a prize !", model), "Spam") #It will pass text if come spam then pass self.assertEqual(classify_text("Hello, how are you?", model), "Not Spam") if __name__ == "__main__":