Refs -- Added tests for attributes of manager methods.
@@ -736,6 +736,10 @@ class ManagerTest(SimpleTestCase):
sorted(self.QUERYSET_PROXY_METHODS),
)
+ def test_manager_method_attributes(self):
+ self.assertEqual(Article.objects.get.__doc__, models.QuerySet.get.__doc__)
+ self.assertEqual(Article.objects.count.__name__, models.QuerySet.count.__name__)
+
class SelectOnSaveTests(TestCase):
def test_select_on_save(self):
