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