コード例 #1
0
ファイル: run.py プロジェクト: azbshiri/tas
#!/usr/bin/env python3
from tas import make_schedule
from tabulate import tabulate


if __name__ == '__main__':
    table = make_schedule()
    tabular = tabulate(list(table), tablefmt="plain")
    print(tabular)
コード例 #2
0
ファイル: test_tas.py プロジェクト: azbshiri/tas
def test_that_schedule_is_not_empty():
    schedule = make_schedule()
    assert_that(schedule).is_not_empty()