예제 #1
0
def test_list_formatter_command():
    run_command("taxa tests/treefiles/basic.trees")
예제 #2
0
def test_no_command():
    run_command("")
예제 #3
0
def test_command_bad_args_2():
    run_command("prune")    # `prune` has a compulsory arg which is missing here
예제 #4
0
def test_string_formatter_command():
    run_command("height tests/treefiles/basic.trees")
예제 #5
0
def test_command_3():
    run_command("pretty tests/treefiles/basic.trees")
예제 #6
0
def test_command_2():
    run_command("stat tests/treefiles/basic.trees")
예제 #7
0
def test_command():
    run_command("cat tests/treefiles/basic.trees")
예제 #8
0
def test_bad_command():
    run_command("kill_all_humans")
예제 #9
0
def test_help():
    run_command("--help")