def test_self_contained(self, expected, no_self_contained, extra_args): args = enhance_args('', False, no_self_contained, extra_args) result = '--self-contained' in args assert result is expected
def test_css(self, expected, to, extra_args): result = enhance_args(to, True, True, extra_args) assert result == expected
def test_standalone(self, expected, no_standalone, extra_args): args = enhance_args('', no_standalone, False, extra_args) result = '--standalone' in args or '-s' in args assert result is expected