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

2023-05-10 Thread 'Bob Aalsma' via Django users
stackoverflow.com/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, t

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

2023-05-10 Thread &#x27;Bob Aalsma&#x27; via Django users
flow.com/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 answ

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

2023-05-10 Thread &#x27;Bob Aalsma&#x27; 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 erro

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

2023-05-10 Thread &#x27;Bob Aalsma&#x27; 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: (.