示例#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)