Skip to content

Commit

Permalink
Remove JSON file storage defaults in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jun 24, 2017
1 parent 9c90155 commit 5e18851
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/test_initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def get_kwargs(self):
}

def test_storage_initialized(self):
from chatterbot.storage import JsonFileStorageAdapter
self.assertTrue(isinstance(self.chatbot.storage, JsonFileStorageAdapter))
from chatterbot.storage import SQLStorageAdapter
self.assertTrue(isinstance(self.chatbot.storage, SQLStorageAdapter))

def test_logic_initialized(self):
from chatterbot.logic import BestMatch
Expand All @@ -34,9 +34,8 @@ class DictionaryInitalizationTestCase(ChatBotTestCase):
def get_kwargs(self):
return {
'storage_adapter': {
'import_path': 'chatterbot.storage.JsonFileStorageAdapter',
'database': None,
'silence_performance_warning': True
'import_path': 'chatterbot.storage.SQLStorageAdapter',
'database': None
},
'input_adapter': {
'import_path': 'chatterbot.input.VariableInputTypeAdapter'
Expand All @@ -55,8 +54,8 @@ def get_kwargs(self):
}

def test_storage_initialized(self):
from chatterbot.storage import JsonFileStorageAdapter
self.assertTrue(isinstance(self.chatbot.storage, JsonFileStorageAdapter))
from chatterbot.storage import SQLStorageAdapter
self.assertTrue(isinstance(self.chatbot.storage, SQLStorageAdapter))

def test_logic_initialized(self):
from chatterbot.logic import BestMatch
Expand Down

0 comments on commit 5e18851

Please sign in to comment.