Skip to content

Commit

Permalink
Used no output adapter for test cases to prevent data from being prin…
Browse files Browse the repository at this point in the history
…ted in test output.
  • Loading branch information
gunthercox committed Nov 8, 2015
1 parent 2fc448a commit 0723672
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/base_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ def setUp(self):

database_path = self.test_data_directory + '/' + self.test_database_name

self.chatbot = ChatBot("Test Bot", database=database_path)
self.chatbot = ChatBot(
"Test Bot",
io_adapter="chatterbot.adapters.io.NoOutputAdapter",
database=database_path
)

def random_string(self, start=0, end=9000):
"""
Expand Down

0 comments on commit 0723672

Please sign in to comment.