summaryrefslogtreecommitdiff
path: root/tests/data/clientmodule_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/clientmodule_test.py')
-rw-r--r--tests/data/clientmodule_test.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/data/clientmodule_test.py b/tests/data/clientmodule_test.py
new file mode 100644
index 000000000..40db2e77e
--- /dev/null
+++ b/tests/data/clientmodule_test.py
@@ -0,0 +1,29 @@
+""" docstring for file clientmodule.py """
+from data.suppliermodule_test import Interface, DoNothing
+
+class Ancestor:
+ """ Ancestor method """
+ __implements__ = (Interface,)
+ cls_member = DoNothing()
+
+ def __init__(self, value):
+ local_variable = 0
+ self.attr = 'this method shouldn\'t have a docstring'
+ self.__value = value
+
+ def get_value(self):
+ """ nice docstring ;-) """
+ return self.__value
+
+ def set_value(self, value):
+ self.__value = value
+ return 'this method shouldn\'t have a docstring'
+
+class Specialization(Ancestor):
+ TYPE = 'final class'
+ top = 'class'
+
+ def __init__(self, value, _id):
+ Ancestor.__init__(self, value)
+ self._id = _id
+ self.relation = DoNothing()