modify test_assert_is_not_none
replace self.assertIsNone() to self.assertIsNotNone() in function test_assert_is_not_none. Change-Id: I62098d7039472c7f4c57c8dd669c0ddcb1a54ad2 Closes-Bug: #1603907
This commit is contained in:
parent
7a66c1cf56
commit
48db85cb69
@ -166,7 +166,7 @@ class HackingTestCase(base.TestCase):
|
||||
code = "self.assertEqual(A is not None)"
|
||||
self._assert_has_errors(code, check, errors)
|
||||
|
||||
code = "self.assertIsNone()"
|
||||
code = "self.assertIsNotNone()"
|
||||
self._assert_has_no_errors(code, check)
|
||||
|
||||
def test_assert_true_isinstance(self):
|
||||
|
Loading…
Reference in New Issue
Block a user