Exemple #1
0
 def test_main_to_interactive(self, mock_interactive, mock_parse):
     cli.main(None)
     mock_interactive.assert_called_with(sentinel.Renderer)
Exemple #2
0
def main():
    """
    Entry point.
    """
    cli.main(sys.argv[1:])
Exemple #3
0
 def test_main_to_convert(self, mock_convert, mock_parse):
     cli.main(None)
     mock_convert.assert_called_with(['foo.md'], sentinel.Renderer)