def test_6(): assert colors2(link_color='red', back_color='blue') == ((), { 'link_color': 'red', 'back_color': 'blue' })
def test_colors2(self): """ Test assertions for colors2 function """ assert (colors2() == ((), {})) assert (colors2(*self.color_tuple, **self.color_dict) == (self.color_tuple, self.color_dict)) assert (colors2('red', *self.color_tuple, **self.color_dict) == (('red', 'light blue', 'grey'), { 'link_color': 'blue', 'visited_color': 'black' })) assert (colors2('red', *self.color_tuple, 'blue', **self.color_dict) == (('red', 'light blue', 'grey', 'blue'), { 'link_color': 'blue', 'visited_color': 'black' }))
def test_8(): regular = ('red', 'blue') links = {'link_color': 'chartreuse'} assert colors2(*regular, **links) == (('red', 'blue'), { 'link_color': 'chartreuse' })
def test_7(): assert colors2('purple', link_color='red', back_color='blue') == (('purple', ), { 'link_color': 'red', 'back_color': 'blue' })
def test_5(): assert colors2('red', 'blue', 'yellow', 'chartreuse') == (('red', 'blue', 'yellow', 'chartreuse'), {})