Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_find_max_label_length_returns_correct_length(self):
length = tg.find_max_label_length(['2007', '2008', '2009', '2010', '2011',
'2012', '2014'])
assert length == 4
length = tg.find_max_label_length(['aaaaaaaa', 'bbb', 'cccccccccccccc', 'z'])
assert length == 14