summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-06-28 15:16:57 -0700
committerschneefux <schneefux+commit@schneefux.xyz>2014-06-28 15:16:57 -0700
commit3419eee951be8660f13b5d750a33b8e8ed64b425 (patch)
tree210f4ec0bd14be447566195d0dffaf10182af9d2 /boot
parent02f3505cd6d585a24d79cca033f30ce88e972563 (diff)
downloadjasper-client-3419eee951be8660f13b5d750a33b8e8ed64b425.tar.gz
jasper-client-3419eee951be8660f13b5d750a33b8e8ed64b425.zip
Changes suggested in CR.
Diffstat (limited to 'boot')
-rw-r--r--boot/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/test.py b/boot/test.py
index b390d5e..af5f982 100644
--- a/boot/test.py
+++ b/boot/test.py
@@ -16,7 +16,7 @@ sys.path.append(mod_path)
import g2p
-class ListWhereOrderDoesNotMatter(list):
+class UnorderedList(list):
def __eq__(self, other):
return sorted(self) == sorted(other)
@@ -41,7 +41,7 @@ class TestVocabCompiler(unittest.TestCase):
# 'words' is appended with ['MUSIC', 'SPOTIFY']
# so must be > 2 to have received WORDS from modules
- translateWords.assert_called_once_with(ListWhereOrderDoesNotMatter(words))
+ translateWords.assert_called_once_with(UnorderedList(words))
self.assertTrue(text2lm.called)
os.remove(sentences)
os.remove(dictionary)