Feature/gh 5 set up testing #1
Annotations
1 error and 1 warning
/home/runner/work/Atlas_3_Backend/Atlas_3_Backend/atlas_3/atlas_3/tests.py#L4
class DemoTestCase(TestCase):
def setUp(self):
self.client = Client()
def test_can_get_resource(self):
- response = self.client.get('/resource')
+ response = self.client.get("/resource")
self.assertEqual(response.status_code, 200)
- self.assertJSONEqual(response.content, {'result': 'Hello Django!'})
+ self.assertJSONEqual(response.content, {"result": "Hello Django!"})
|
run-linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: wearerequired/lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|