summaryrefslogtreecommitdiff
path: root/client/test.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-05-27 23:28:18 -0700
committerschneefux <schneefux+commit@schneefux.xyz>2014-05-27 23:28:18 -0700
commit2776412dbf287f34ec49980da840dd22c323a38d (patch)
tree49dd4e6b8ece0c87d597f69db9a82d4e406332f6 /client/test.py
parentc1a49a4b925abfd10f4a6faa85d8afe9689bdd4c (diff)
downloadjasper-client-2776412dbf287f34ec49980da840dd22c323a38d.tar.gz
jasper-client-2776412dbf287f34ec49980da840dd22c323a38d.zip
fixed path for JOKES test
Diffstat (limited to 'client/test.py')
-rw-r--r--client/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/test.py b/client/test.py
index 44dd5c3..26f7f4f 100644
--- a/client/test.py
+++ b/client/test.py
@@ -48,7 +48,7 @@ class TestModules(unittest.TestCase):
inputs = ["Who's there?", "Random response"]
outputs = self.runConversation(query, inputs, modules.Joke)
self.assertEqual(len(outputs), 3)
- allJokes = open("JOKES.txt", "r").read()
+ allJokes = open("../static/text/JOKES.txt", "r").read()
self.assertTrue(outputs[2] in allJokes)
def testTime(self):