Skip to content

Instantly share code, notes, and snippets.

@klrmn
Created December 5, 2012 19:31
Show Gist options
  • Save klrmn/4218762 to your computer and use it in GitHub Desktop.
Save klrmn/4218762 to your computer and use it in GitHub Desktop.
tests.case.api.ApiCrudCases
from tests.case.api import ApiTestCase
class ApiCrudCases(ApiTestCase):
"""Re-usable test cases for Create, Read, Update, and Delete"""
def test_create(self):
pass
def test_create_fails_with_wrong_perms(self):
pass
def test_create_does_not_disturb_others(self):
pass
def test_read_list(self):
pass
def test_read_detail(self):
pass
def test_update_detail(self):
pass
def test_update_does_not_disturb_others(self):
pass
def test_update_list_forbidden(self):
pass
def test_update_fails_without_creds(self):
pass
def test_delete_detail(self):
pass
def test_delete_list_forbidden(self):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment