Browse Source

Added interface test for BaseBackend._forget

Ask Solem 14 years ago
parent
commit
9cfa3e6a28
1 changed files with 4 additions and 0 deletions
  1. 4 0
      celery/tests/test_backends/test_base.py

+ 4 - 0
celery/tests/test_backends/test_base.py

@@ -43,6 +43,10 @@ class test_BaseBackend_interface(unittest.TestCase):
         self.assertRaises(NotImplementedError,
                 b.get_status, "SOMExx-N0Nex1stant-IDxx-")
 
+    def test__forget(self):
+        self.assertRaises(NotImplementedError,
+                b.forget, "SOMExx-N0Nex1stant-IDxx-")
+
     def test_store_result(self):
         self.assertRaises(NotImplementedError,
                 b.store_result, "SOMExx-N0nex1stant-IDxx-", 42, states.SUCCESS)