'``_parse_restart_policy`` returns ``RestartAlways`` if that policy
was specified in the configuration.'

def test_restart_policy_always(self):

    self.assertEqual(RestartAlways(), _parse_restart_policy(application_name=u'foobar', config=dict(name=u'always')))
