📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 10:39:09
📂
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint_django
/
tests
/
input
✏️
Editing: func_noerror_test_wsgi_request.py
""" Checks that Pylint does not complain about a standard test. See: https://github.com/PyCQA/pylint-django/issues/78 """ from django.db import models from django.test import TestCase class SomeModel(models.Model): """Just a model.""" class SomeTestCase(TestCase): """A test cast.""" def test_thing(self): """Test a thing.""" expected_object = SomeModel() response = self.client.get("/get/some/thing/") self.assertEqual(response.status_code, 200) self.assertEqual(response.context["object"], expected_object)
💾 Save Changes
❌ Cancel