Skip to content

Commit

Permalink
Make sure that test requirements are downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Mar 30, 2019
1 parent 2469e3c commit 4f6019e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/base_case.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
from unittest import TestCase, SkipTest
from chatterbot import ChatBot
from chatterbot import utils


class ChatBotTestCase(TestCase):

def setUp(self):

# Make sure that test requirements are downloaded
utils.download_nltk_stopwords()

self.chatbot = ChatBot('Test Bot', **self.get_kwargs())

def tearDown(self):
Expand Down

0 comments on commit 4f6019e

Please sign in to comment.