Skip to content

Feature/gh 5 set up testing #1

Feature/gh 5 set up testing

Feature/gh 5 set up testing #1

Triggered via pull request February 9, 2024 07:41
Status Success
Total duration 17s
Artifacts

linter.yml

on: pull_request
run-linters
7s
run-linters
Fit to window
Zoom out
Zoom in

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/.