fix: management command runner expects classes named "Command"
ci/woodpecker/push/woodpecker Pipeline was successful Details

wip-payments
Aravinth Manivannan 2022-06-11 18:30:18 +05:30
parent a197422f6a
commit 89a79f45ff
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,7 @@ from django.conf import settings
from accounts.models import AccountConfirmChallenge
class CleanUnverifiedUsersCommand(BaseCommand):
class Command(BaseCommand):
help = "Deletes unverified users after the period specified in settings.py"
def handle(self, *args, **options):

View File

@ -23,7 +23,9 @@ from django.contrib.auth import authenticate
from django.conf import settings
from .models import AccountConfirmChallenge
from .management.commands.rm_unverified_users import CleanUnverifiedUsersCommand
from .management.commands.rm_unverified_users import (
Command as CleanUnverifiedUsersCommand,
)
class LoginTest(TestCase):