def test_object_attributes_introspection(self):

        attributes = object_attributes(self.b)
        self.assertEqual(attributes, ['a', 'b', 'c'])

        attributes = object_attributes(self.b, "private")
        self.assertEqual(attributes, ['_a', '_b'])

        attributes = object_attributes(self.b, "both")
        self.assertEqual(attributes, ['_a', '_b', 'a', 'b', 'c'])
 def test_object_attributes_introspection(self):
     
     attributes = object_attributes(self.b)
     self.assertEqual(attributes, ['a', 'b', 'c'])
     
     
     attributes = object_attributes(self.b, "private")
     self.assertEqual(attributes, ['_a', '_b'])
     
     attributes = object_attributes(self.b, "both")
     self.assertEqual(attributes, ['_a', '_b', 'a', 'b', 'c'])
 def test_object_attributes_introspection_2(self):
     attributes = object_attributes(self.b, "all")
     self.assertEqual(attributes, ['__class__', '__delattr__', '__dict__',
             '__doc__', '__format__', '__getattribute__', '__hash__', 
             '__module__', '__new__', '__reduce__', '__reduce_ex__', 
             '__repr__', '__setattr__', '__sizeof__', '__str__', 
             '__subclasshook__', '__weakref__', '_a', '_b', 'a', 'b', 'c'])
 def test_object_attributes_introspection_2(self):
     attributes = object_attributes(self.b, "all")
     self.assertEqual(attributes, [
         '__class__', '__delattr__', '__dict__', '__doc__', '__format__',
         '__getattribute__', '__hash__', '__module__', '__new__',
         '__reduce__', '__reduce_ex__', '__repr__', '__setattr__',
         '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_a',
         '_b', 'a', 'b', 'c'
     ])