def test_create_autospec_keyword_arguments(self):

    class Foo(object):
        a = 3
    m = create_autospec(Foo, a='3')
    self.assertEqual(m.a, '3')
def test_create_autospec_keyword_arguments(self):

    class Foo(object):
        a = 3
    m = create_autospec(Foo, a='3')
    self.assertEqual(m.a, '3')