예제 #1
0
 def test_from_environment(self):
     """
     there is no device in a standard environment
     """
     with pytest.raises(DeviceNotFoundInEnvironmentError):
         Devices.from_environment(_CONTEXT)
예제 #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)
예제 #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)