def test_instance_doc(self): """Test whether the sphinx rendering works for a instance of a class""" ini = d.DummyClass() self._test_object_docu(ini, 'ini')
def test_method_doc(self): """Test whether the sphinx rendering works for a method""" self._test_object_docu(d.DummyClass.dummy_method, 'd.DummyClass.dummy_method') ini = d.DummyClass() self._test_object_docu(ini.dummy_method, 'ini.dummy_method')