Révision f349bb54 tests/test_dos_input.py
b/tests/test_dos_input.py | ||
---|---|---|
23 | 23 |
|
24 | 24 |
class TestCheckInpFile(unittest.TestCase): |
25 | 25 |
def test_good(self): |
26 |
self.assertEqual(check_inp_file('cp2k.inp', 'cp2k'), None) |
|
26 |
self.assertEqual(check_inp_files('cp2k.inp', 'cp2k'), None)
|
|
27 | 27 |
|
28 | 28 |
def test_bad(self): |
29 |
self.assertRaises(UnboundLocalError, check_inp_file, 'cp2k.sub', 'cp2k') |
|
29 |
self.assertRaises(UnboundLocalError, check_inp_files, 'cp2k.sub', 'cp2k')
|
|
30 | 30 |
|
31 | 31 |
|
32 | 32 |
class TestGoodInput(unittest.TestCase): |
Formats disponibles : Unified diff