Révision 0dfa15ff tests/test_dos_input.py

b/tests/test_dos_input.py
58 58
                    'try_disso': True,
59 59
                    'sample_points_per_angle': 4,
60 60
                    'collision_threshold': 0.9,
61
                    'collision_bottom_z': 5.2,
61
                    'collision_bottom': 5.2,
62 62
                    'refine_inp_file': 'refine.inp',
63 63
                    'energy_cutoff': 1.0
64 64
                    }
......
132 132
    def test_coll_thrsld(self):
133 133
        self.assertEqual(get_coll_thrsld(), 0.9)
134 134

  
135
    def test_coll_bottom_z(self):
136
        self.assertEqual(get_coll_bottom_z(), 5.2)
135
    def test_coll_bottom(self):
136
        self.assertEqual(get_coll_bottom(), 5.2)
137 137

  
138 138
    def test_refine_inp_file(self):
139 139
        self.assertEqual(get_refine_inp_file(), 'refine.inp')
......
205 205
    def test_coll_thrsld(self):
206 206
        self.assertRaises(ValueError, get_coll_thrsld)
207 207

  
208
    def test_coll_bottom_z(self):
209
        self.assertRaises(ValueError, get_coll_bottom_z)
208
    def test_coll_bottom(self):
209
        self.assertRaises(ValueError, get_coll_bottom)
210 210

  
211 211
    def test_refine_inp_file(self):
212 212
        self.assertRaises(FileNotFoundError, get_refine_inp_file)

Formats disponibles : Unified diff