aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/test_module_template.py
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-19 11:20:29 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:12:54 -0300
commitea66e79f338202f473bc1e95e21c126bbb63756a (patch)
tree62548dd246ed9b7fa30f4d0dc7794701586bf90b /tests/samplebinding/test_module_template.py
parent517800c3cd93c48d897ac868505e22e2e972aa22 (diff)
Added test for module reloading.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/samplebinding/test_module_template.py')
-rw-r--r--tests/samplebinding/test_module_template.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/samplebinding/test_module_template.py b/tests/samplebinding/test_module_template.py
new file mode 100644
index 000000000..b2e917de4
--- /dev/null
+++ b/tests/samplebinding/test_module_template.py
@@ -0,0 +1,10 @@
+from other import *
+from sample import *
+
+
+class MyObjectType(ObjectType):
+ pass
+
+class MyOtherObjectType(OtherObjectType):
+ value = 10
+