def test_unsafe(self):
     with pytest.raises(ValueError):
         utils.update_safety_check(self.x, self.z)
 def test_safe(self):
     # should not raise exception:
     utils.update_safety_check(self.x, self.y)
Ejemplo n.º 3
0
 def test_unsafe(self):
     with pytest.raises(ValueError):
         utils.update_safety_check(self.x, self.z)
Ejemplo n.º 4
0
 def test_safe(self):
     # should not raise exception:
     utils.update_safety_check(self.x, self.y)
Ejemplo n.º 5
0
 def test_unsafe(self):
     with self.assertRaises(ValueError):
         utils.update_safety_check(self.x, self.z)
Ejemplo n.º 6
0
 def test_unsafe(self):
     with self.assertRaises(ValueError):
         utils.update_safety_check(self.x, self.z)