示例#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()