def METHOD_NAME(self):
    """Test that the status code tag functions."""
    from .tags import status_label
    self.assertEqual(status_label('general', 10), "<span class='badge rounded-pill bg-secondary'>Pending</span>")
    # invalid type
    with self.assertRaises(ValueError) as e:
        status_label('invalid', 10)
    self.assertEqual(str(e.exception), "Unknown status type 'invalid'")
    # Test non-existent key
    self.assertEqual(status_label('general', 100), '100')