@mock.patch.multiple(systemconfig.SCPreferences, GetPathValue=mock.DEFAULT,
                       SetPathValue=mock.DEFAULT)
  @mock.patch.multiple(systemconfig, SCPreferencesCreate=mock.DEFAULT)
  def testSetHostName(self, **mocks):
    mocks['GetPathValue'].return_value = 'hostname'
    scp = systemconfig.SCPreferences()
    self.assertEqual(None, scp.SetComputerName('newname'))
    self.assertEqual(None, scp.SetComputerName('hostname'))
    # Only called once from 'newname'
    self.assertEqual(1, mocks['SetPathValue'].call_count)
Is other GeometryEntity contained in this Ray?
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/systemconfig_test.py/SCPreferencesTest.testSetHostName--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/geometry/line.py/Ray.contains