user tester had no rights to delete this dataset.  So the below test fails. The below patch works.
```
diff --git a/ckan/tests/functional/test_package.py b/ckan/tests/functional/test_package.py
index 6f083ce..1beea2f 100644
--- a/ckan/tests/functional/test_package.py
+++ b/ckan/tests/functional/test_package.py
@@ -1086,6 +1086,9 @@ class TestDelete(TestPackageForm):
         CreateTestData.create_test_user()
 
 #        self.admin = model.User.by_name(u'russianfan')
+        self.admin = model.User.by_name(u'testsysadmin')
+
+        self.extra_environ_admin = {'REMOTE_USER': self.admin.name.encode('utf8')}
 
 #        self.extra_environ_admin = {'REMOTE_USER': self.admin.name.encode('utf8')}
         self.extra_environ_tester = {'REMOTE_USER': 'tester'}
@@ -1101,7 +1104,7 @@ class TestDelete(TestPackageForm):
 
         offset = url_for(controller='package', action='delete',
                 id='warandpeace')
-        self.app.post(offset, extra_environ=self.extra_environ_tester)
+        self.app.post(offset, extra_environ=self.extra_environ_admin)
 
         assert model.Package.get('warandpeace').state == u'deleted'
```