aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/generics.py
diff options
context:
space:
mode:
authorTom Christie2013-02-25 07:13:41 -0800
committerTom Christie2013-02-25 07:13:41 -0800
commit7d4ee98691c3c622b496e3853f5e9622eed44a98 (patch)
tree648bf85a0187d9b283c0f293f423919321ef69cc /rest_framework/tests/generics.py
parentb4b9d3b513074810abcbc52e7eaa21616fba26d5 (diff)
parentc2c12858e536485927bba998467c1921e10c81c2 (diff)
downloaddjango-rest-framework-7d4ee98691c3c622b496e3853f5e9622eed44a98.tar.bz2
Merge pull request #677 from thedrow/topic/tests_refactoring
Tests general cleanup
Diffstat (limited to 'rest_framework/tests/generics.py')
-rw-r--r--rest_framework/tests/generics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/generics.py b/rest_framework/tests/generics.py
index adbd6253..3c85bca4 100644
--- a/rest_framework/tests/generics.py
+++ b/rest_framework/tests/generics.py
@@ -43,7 +43,7 @@ class SlugBasedInstanceView(InstanceView):
class TestRootView(TestCase):
def setUp(self):
"""
- Create 3 BasicModel intances.
+ Create 3 BasicModel instances.
"""
items = ['foo', 'bar', 'baz']
for item in items:
@@ -344,7 +344,7 @@ class ExampleView(generics.ListCreateAPIView):
class TestM2MBrowseableAPI(TestCase):
def test_m2m_in_browseable_api(self):
"""
- Test for particularly ugly reression with m2m in browseable API
+ Test for particularly ugly regression with m2m in browseable API
"""
request = factory.get('/', HTTP_ACCEPT='text/html')
view = ExampleView().as_view()