def test_Bunch(self): x = Bunch(foo='foo', bar=2) self.assertEqual(x.foo, 'foo') self.assertEqual(x.bar, 2)
def test_Bunch(self): x = Bunch(foo="foo", bar=2) self.assertEqual(x.foo, "foo") self.assertEqual(x.bar, 2)