﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24714	Tidy up usage of assertEqual in tests	Alasdair Nicol	nobody	"There are a few places in the tests where we are using self.assertEqual that could be more idiomatic.

{{{
self.assertEqual(True, x)  # prefer self.assertTrue(x)
self.assertEqual(False, x)  # prefer self.assertFalse(x)
self.assertEqual(None, x)  # prefer self.assertIsNone(x)
self.assertEqual(True, x in y) # prefer self.assertIn(x, y)
self.assertEqual(True, x == y) # prefer self.assertEqual(x, y)
self.assertEqual(False, x == y) # prefer self.assertNotEqual(x, y) 
}}}

I found these using the following greps

{{{
grep -rI assertEqual.True
grep -rI assertEqual.False
grep -rI assertEqual.None
}}}

This is a similar tidy up to #23620"	Uncategorized	new	Uncategorized	dev	Normal				Unreviewed	0	0	0	0	0	0
