def test_non_existent_namespace(self):
        self.assertRaises(NoReverseMatch, reverse, 'blahblah:urlobject-view')
        self.assertRaises(NoReverseMatch, reverse, 'test-ns1:blahblah:urlobject-view')
Cancel the document. Sets `docstatus` = 2, then saves.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/urlpatterns_reverse/tests.py/NamespaceTests.test_non_existent_namespace--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.cancel