From b9f46f21e49ba4d5f30515b7fad55b8cb9686464 Mon Sep 17 00:00:00 2001 From: quarnstric Date: Thu, 2 Nov 2023 17:13:19 +0530 Subject: [PATCH] flake8 error fixed --- app/core/tests/test_admin.py | 11 +++++++++++ requirements.txt | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 app/core/tests/test_admin.py diff --git a/app/core/tests/test_admin.py b/app/core/tests/test_admin.py new file mode 100644 index 0000000..e881ecf --- /dev/null +++ b/app/core/tests/test_admin.py @@ -0,0 +1,11 @@ +""" +Test for the Django admin modifications +""" +from django.test import TestCase, Client +from django.contrib.auth import get_user_model +from django.urls import reverse + + +class AdminSiteTests(TestCase): + """Tests for Django admin..""" + pass \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 8d29a59..844ae70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Django>=3.2.4,<3.3 djangorestframework>=3.12.4,<3.13 -psycopg2>=2.8.6,<2.9 \ No newline at end of file +psycopg2>=2.8.6,<2.9 +flake8>=3.9.2,<3.10 \ No newline at end of file