Re: How to run the CustomTimeInputFormatsTests unit test?
I've submitted https://code.djangoproject.com/ticket/35986 If I'm missing something, please let me know. Arthur Pemberton On Monday, December 9, 2024 at 5:12:57 AM UTC-5 Bendegúz Csirmaz wrote: > Yes you're right, it's not executed for me either. > > On Monday, 9 December 2024 at 17:53:16 UTC+8 Arthur Pemberton wrote: > >> I've read through >> https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/ >> >> and I'm still uncertain how to properly run it. >> >> As far as I can tell, tests decorated with `@translation.override(None)` >> do not get run when using `./runtests.py` >> >> Even using `./runtests.py >> forms_tests.tests.test_input_formats.CustomTimeInputFormatsTests.test_timeField` >> >> results in an error: >> >> TypeError: CustomTimeInputFormatsTests.test_timeField() missing 1 >> required positional argument: 'self' >> >> Arthur Pemberton >> > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/django-developers/8d0f229c-748c-4749-a1a8-1734cf7ee198n%40googlegroups.com.
Re: How to run the CustomTimeInputFormatsTests unit test?
Yes you're right, it's not executed for me either. On Monday, 9 December 2024 at 17:53:16 UTC+8 Arthur Pemberton wrote: > I've read through > https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/ > > and I'm still uncertain how to properly run it. > > As far as I can tell, tests decorated with `@translation.override(None)` > do not get run when using `./runtests.py` > > Even using `./runtests.py > forms_tests.tests.test_input_formats.CustomTimeInputFormatsTests.test_timeField` > > results in an error: > > TypeError: CustomTimeInputFormatsTests.test_timeField() missing 1 required > positional argument: 'self' > > Arthur Pemberton > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/django-developers/448f030e-d611-4bae-aec1-f6f2b026e4ecn%40googlegroups.com.
How to run the CustomTimeInputFormatsTests unit test?
I've read through https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/ and I'm still uncertain how to properly run it. As far as I can tell, tests decorated with `@translation.override(None)` do not get run when using `./runtests.py` Even using `./runtests.py forms_tests.tests.test_input_formats.CustomTimeInputFormatsTests.test_timeField` results in an error: TypeError: CustomTimeInputFormatsTests.test_timeField() missing 1 required positional argument: 'self' Arthur Pemberton -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/django-developers/2f3cc486-2e47-476a-a036-92850c5dbce6n%40googlegroups.com.
