Add dedicated directory for empty directory tests.

pull/748/head
Åke Forslund 2017-04-15 11:59:06 +02:00 committed by Art McGee
parent 5b48fcb058
commit 142274b40f
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class MycroftSkillTest(unittest.TestCase):
def test_load_regex_empty(self):
self.check_regex(join(dirname(__file__),
'wolfram_alpha'))
'empty_dir'))
def test_load_regex_fail(self):
try:
@ -150,7 +150,7 @@ class MycroftSkillTest(unittest.TestCase):
'alias_of': 'table'}])
def test_load_vocab_empty(self):
self.check_vocab(join(dirname(__file__), 'wolfram_alpha'))
self.check_vocab(join(dirname(__file__), 'empty_dir'))
def test_load_vocab_fail(self):
try:

View File