After updating to 1.8 this command:
{{{
python3 manage.py testserver fixture.yaml
}}}
Fails:
{{{
Creating test database for alias 'default'...
Got an error creating the test database: database "test_django" already
exists
Destroying old test database 'default'...
CommandError: Error: No database fixture specified. Please provide the
path of at least one fixture in the command line.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24571>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* severity: Normal => Release blocker
* needs_better_patch: => 0
* needs_tests: => 0
* keywords: => testserver
* needs_docs: => 0
* stage: Unreviewed => Accepted
Comment:
Confirmed. I forgot to remove the `args` Command variable (which triggers
an optparse compatibility mode).
Fixing's easy, testing harder... (see `ManageRunserver` testcase class).
--
Ticket URL: <https://code.djangoproject.com/ticket/24571#comment:1>
* status: new => assigned
* owner: nobody => claudep
--
Ticket URL: <https://code.djangoproject.com/ticket/24571#comment:2>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/24571#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/24571#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"426b63ba04521b8eaffb129b7e4feca36eed8777" 426b63b]:
{{{
#!CommitTicketReference repository=""
revision="426b63ba04521b8eaffb129b7e4feca36eed8777"
Fixed #24571 -- Restored testserver positional arguments parsing
Thanks Domas Lapinskas for the report and Tim Graham for the
review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24571#comment:5>
Comment (by Claude Paroz <claude@…>):
In [changeset:"7821f856a69b5027999890b1377aa04f24da2416" 7821f856]:
{{{
#!CommitTicketReference repository=""
revision="7821f856a69b5027999890b1377aa04f24da2416"
[1.8.x] Fixed #24571 -- Restored testserver positional arguments parsing
Thanks Domas Lapinskas for the report and Tim Graham for the
review.
Backport of 426b63ba04 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24571#comment:6>