Refactor project structure and update configurations for State Corp backend
- Updated project description in __init__.py - Enhanced .gitignore to exclude additional data files - Modified User model to remove first_name and last_name fields - Improved instance save method in services.py to include updated_at field - Added API tokens to .env.example for external services - Cleaned up test files for better readability - Updated Dockerfile and docker-compose.yml for improved setup - Revised README.md to reflect project changes and added changelog
This commit is contained in:
@@ -21,7 +21,7 @@ class BaseServiceTest(TestCase):
|
||||
self.user = User.objects.create_user(
|
||||
username="testuser",
|
||||
email="test@example.com",
|
||||
password="testpass123",
|
||||
password="testpass123", # noqa: S106
|
||||
)
|
||||
|
||||
def test_get_by_id_success(self):
|
||||
@@ -53,7 +53,7 @@ class BaseServiceTest(TestCase):
|
||||
User.objects.create_user(
|
||||
username="testuser2",
|
||||
email="test2@example.com",
|
||||
password="testpass123",
|
||||
password="testpass123", # noqa: S106
|
||||
)
|
||||
|
||||
result = UserTestService.get_all()
|
||||
|
||||
Reference in New Issue
Block a user