Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
om/questions/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django >>> >>> On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma' via Django users < >>> django...@googlegroups.com> wrote: >>> >>>> Sorry Vishesh, thanks for the quick a

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
ons/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django >> >> On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma' via Django users < >> django...@googlegroups.com> wrote: >> >>> Sorry Vishesh, thanks for the quick answer but I have no idea wha

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
ull but null=False is not set >> >> On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, < >> django...@googlegroups.com> wrote: >> >>> I'm trying to test a django-admin command and don't understand why the >>> tests give errors on the code

testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
I'm trying to test a django-admin command and don't understand why the tests give errors on the code while the code works as expected. I'm under the impression that the *raise CommandError* is ignored by the test, but don't understand why this would be. Please help. Running the code shows: