Commit 90822c1a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Tests] test error_out & dgpyError

parent 55f0cd7a
# Test bindings
ADD_PYTHON_UNIT_TEST("test-bindings" "unitTesting/" src)
# Test the interpreter
SET(EXECUTABLE_NAME interpreter-test)
import unittest
import dynamic_graph
class BindingsTests(unittest.TestCase):
def test_bindings(self):
with self.assertRaises(Exception) as error:
self.assertEqual(str(error), "something bad happend")
if __name__ == '__main__':
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment