Exemplo n.º 1
0
 def test_people(self):
     gs = GenerateSite()
     gs.read_people()
     report = gs.check_people()
     sys.stderr.write(report)
     assert report == ''
Exemplo n.º 2
0
#!/usr/bin/env python3
import sys
import os

sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from cat.code import GenerateSite

gs = GenerateSite()

gs.read_videos()
report = gs.check_videos()
if report != '':
    print(report)

gs.read_people()
report = gs.check_people()
if report != '':
    print(report)

# vim: expandtab