diff options
Diffstat (limited to 'tests/module_loader_test.py')
-rw-r--r-- | tests/module_loader_test.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/module_loader_test.py b/tests/module_loader_test.py new file mode 100644 index 0000000..8b7a0c9 --- /dev/null +++ b/tests/module_loader_test.py @@ -0,0 +1,13 @@ +# Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. + +import unittest +import gras + +class ModuleLoaderTest(unittest.TestCase): + + def test_load_module(self): + my_block = gras.Factory.make("/tests/my_block") + self.assertEqual(my_block.get_num(), 42) + +if __name__ == '__main__': + unittest.main() |