'Run all status strings tests'

def test_all(self):

    status_strings = common.statusStrings
    valid = (1, 112, '1', '112')
    unused = (122, 99998989899878676, '99998989899878676', None)
    invalid = ('Elephant', (4, 1), [1, 233, 4, None])
    for i in valid:
        self.assertTrue((i in status_strings))
    for i in unused:
        self.assertFalse((i in status_strings))
        with self.assertRaises(KeyError):
            self.assertTrue(status_strings[i])
    for i in status_strings:
        self.assertEqual(status_strings[i], status_strings[str(i)])
        self.assertEqual((i in status_strings), (str(i) in status_strings))
    for i in status_strings.qualities:
        self.assertEqual(status_strings[i], status_strings[str(i)])
        self.assertEqual((i in status_strings), (str(i) in status_strings))
    for i in invalid:
        with self.assertRaises(TypeError):
            status_strings[i] = 1
    for i in unused:
        if (i is None):
            with self.assertRaises(TypeError):
                status_strings[str(i)] = 1
            status_strings[i] = 1
        else:
            status_strings[str(i)] = 1
        self.assertEqual(status_strings[i], 1)
