

def test_client_getattr(self):
    c = delicious.DeliciousClient('username', 'password')
    self.assertEqual(c.username, 'username')
    self.assertEqual(c.password, 'password')
    self.assertEqual(c.method, 'v1')
    c2 = c.foo.bar.baz
    self.assertEqual(c2.username, 'username')
    self.assertEqual(c2.password, 'password')
    self.assertEqual(self.method, 'v1/foo/bar/baz')

dataset/ETHPy150Open jacobian-archive/jellyroll/src/jellyroll/tests/providers/test_delicious.py DeliciousClientTests.test_client_getattr/VarMisuse@90/119 `c2`->`self`