'Ensure the random filter runs every time, not just once.'

@patch.object(random, 'choice')
def test_random_every_time(self, test_choice):

    tpl = template.Template('{{    [1,2]    |    random    }}', self.hass)
    test_choice.return_value = 'foo'
    self.assertEqual('foo', tpl.render())
    test_choice.return_value = 'bar'
    self.assertEqual('bar', tpl.render())
