def testSetattr(self):
    self.mox.StubOutWithMock(self.settings, '_Set')
    self.settings._Set('foo', 2)

    self.mox.ReplayAll()
    self.settings.FOO = 2
    self.settings._bar = 1
    self.assertEqual(self.settings.__dict__['_bar'], 1)  # eh?
    self.mox.VerifyAll()
make a line of gradients using xt vector
dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/BaseSettingsTest.testSetattr--crossover with--dataset/ETHPy150Open mkenworthy/exorings/exorings.py/make_ring_grad_line