more tests

This commit is contained in:
JanLJL
2019-08-30 13:09:02 +02:00
parent 0173481bec
commit 1948c738d1
3 changed files with 21 additions and 6 deletions

View File

@@ -60,6 +60,8 @@ class TestFrontend(unittest.TestCase):
Frontend()
with self.assertRaises(ValueError):
Frontend(arch='csx', path_to_yaml=os.path.join(self.MODULE_DATA_DIR, 'csx.yml'))
with self.assertRaises(ValueError):
Frontend(path_to_yaml=os.path.join(self.MODULE_DATA_DIR, 'THE_MACHINE.yml'))
with self.assertRaises(ValueError):
Frontend(arch='THE_MACHINE')
Frontend(arch='zen1')