Esempio n. 1
0
 def test_component_list_extra(self):
     with self.assertRaises(ValueError):
         ComponentList.from_dependencies(dependency_list=['a'], a=1, b=2)
Esempio n. 2
0
 def test_component_list_extra(self):
     with self.assertRaises(ValueError):
         ComponentList.from_dependencies(dependency_list=['a'],
                                         a=1, b=2)
Esempio n. 3
0
 def test_component_list_missing(self):
     with self.assertRaises(ValueError):
         ComponentList.from_dependencies(dependency_list=['a'])
Esempio n. 4
0
 def test_component_list_missing(self):
     with self.assertRaises(ValueError):
         ComponentList.from_dependencies(dependency_list=['a'])