Opened 7 years ago

Closed 7 years ago

#8629 closed defect (fixed)

test.integ.control.Controller: assertIsNotNone does not work on Python v2.6 and older

Reported by: Desoxy Owned by: atagar
Priority: Very Low Milestone:
Component: Archived/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Unittest.TestCase.assertNotNone was added in Python v2.7.[1] The method is used twice in test.integ.control.Controller. The patch replaces those calls with assertNotEquals(var, None).

1: http://docs.python.org/2/library/unittest.html#unittest.TestCase.assertIsNotNone

Child Tickets

Attachments (1)

assert_is_not_none.patch (891 bytes) - added by Desoxy 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Desoxy

Attachment: assert_is_not_none.patch added

comment:1 Changed 7 years ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.