diff --git a/couchbase/tests/cases/append_t.py b/couchbase/tests/cases/append_t.py
index <HASH>..<HASH> 100644
--- a/couchbase/tests/cases/append_t.py
+++ b/couchbase/tests/cases/append_t.py
@@ -19,7 +19,7 @@ from couchbase import FMT_JSON, FMT_PICKLE, FMT_BYTES, FMT_UTF8
 
 from couchbase.exceptions import (KeyExistsError, ValueFormatError,
                                   ArgumentError, NotFoundError,
-                                  NotStoredError)
+                                  NotStoredError, CouchbaseError)
 
 from couchbase.tests.base import ConnectionTestCase
 
@@ -58,8 +58,12 @@ class ConnectionAppendTest(ConnectionTestCase):
     def test_append_enoent(self):
         key = self.gen_key("append_enoent")
         self.cb.delete(key, quiet=True)
-        self.assertRaises(NotStoredError,
-                          self.cb.append, key, "value")
+        try:
+            self.cb.append(key, "value")
+            self.assertTrue(false, "Exception not thrown")
+        except CouchbaseError as e:
+            self.assertTrue(isinstance(e, NotStoredError)
+                            or isinstance(e, NotFoundError))
 
     def test_append_multi(self):
         kv = self.gen_kv_dict(amount=4, prefix="append_multi")
append_t: Newer server build returns ENOENT rather than NOT_STORED

The latest builds of the server return this error code (which is
actually more correct anyway).

Change-Id: I<I>e<I>b<I>b<I>bf<I>dab<I>bf<I>c
Reviewed-on: <URL>