Add files from the old svn, r101.
[matthijs/upstream/mobilegtd.git] / tests / specs / model / model_spec.py
diff --git a/tests/specs/model/model_spec.py b/tests/specs/model/model_spec.py
new file mode 100644 (file)
index 0000000..373175e
--- /dev/null
@@ -0,0 +1,10 @@
+from model import model
+import unittest
+
+class StatusBehaviour(unittest.TestCase):
+    def setUp(self):
+        self.status = model.Status('schmactive',12,u's')
+    
+    def test_should_be_equal_to_other_status_with_identical_name_and_value(self):
+        other = model.Status('schmactive',12)
+        self.assertEqual(self.status,other)