Exemple #1
0
 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
Exemple #2
0
 def test_css(self, expected, to, extra_args):
     result = enhance_args(to, True, True, extra_args)
     assert result == expected
Exemple #3
0
 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