Ejemplo n.º 1
0
 def test_from_environment(self):
     """
     there is no device in a standard environment
     """
     with pytest.raises(DeviceNotFoundInEnvironmentError):
         Devices.from_environment(_CONTEXT)
Ejemplo n.º 2
0
 def test_from_environment(self, a_context):
     # there is no device in a standard environment
     with pytest.raises(DeviceNotFoundInEnvironmentError):
         Devices.from_environment(a_context)
Ejemplo n.º 3
0
 def test_from_environment(self, a_context):
     # there is no device in a standard environment
     with pytest.raises(DeviceNotFoundInEnvironmentError):
         Devices.from_environment(a_context)