Code

Opened 3 years ago

Closed 3 years ago

#17113 closed Bug (worksforme)

Test that error handlers of custom urls.py are called

Reported by: claudep Owned by: nobody
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In #16507, some comments talk about custom error handlers on custom urls.py for tests not being used. This ticket should be used to demonstrate this is true/false.

Attachments (1)

test_custom_handlers.diff (2.2 KB) - added by claudep 3 years ago.
Test that custom error handler of custom urls.py is called

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by claudep

Test that custom error handler of custom urls.py is called

comment:1 Changed 3 years ago by claudep

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Added passing test.

comment:2 Changed 3 years ago by carljm

  • Resolution set to worksforme
  • Status changed from new to closed

My comment on #16507 was bogus, it was purely a misunderstanding of what was happening in that ticket. Thanks claudep for demonstrating that this works just fine, sorry for the misdirection.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.