Browse Source

[Tests] First unit tests of OrderAnalyser

monf 8 years ago
parent
commit
b0b1dbc32a
2 changed files with 13 additions and 0 deletions
  1. 13 0
      core/Tests/OrderAnalyserTest.py
  2. 0 0
      core/Tests/__init__.py

+ 13 - 0
core/Tests/OrderAnalyserTest.py

@@ -0,0 +1,13 @@
+import unittest
+from ..OrderAnalyser import *
+
+
+class OrderAnalyserTest(unittest.TestCase):
+
+    """Test case for the OrderAnalyser Class"""
+
+    def setUp(self):
+        pass
+
+    def test__is_containing_bracket(self):
+        self.assertTrue(OrderAnalyser._is_containing_bracket("This test contains {{ bracket }}"))

+ 0 - 0
core/Tests/__init__.py