예제 #1
0
파일: test_soke.py 프로젝트: alick/mote
def test_run():
    soke.run()

    json_team_cache = util.get_json_cache("team")
    json_channel_cache = util.get_json_cache("channel")
    print json_team_cache, json_channel_cache
    channel_meeting_1 = json_channel_cache["fedora-meeting-1"]["2014-02-04"]["minutes"][0]

    team_meeting_1_minutes = json_team_cache["team_one"]["2014-02-04"]["minutes"][0]
    team_meeting_1_logs = json_team_cache["team_one"]["2014-02-04"]["logs"][0]

    assert channel_meeting_1 == "fedora-meeting-1.2014-02-04-20.11.html"

    assert team_meeting_1_minutes == "team_one.2014-02-04-20.11.html"
    assert team_meeting_1_logs == "team_one.2014-02-04-20.11.log.html"
예제 #2
0
def test_run():
    soke.run()

    json_team_cache = util.get_json_cache("team")
    json_channel_cache = util.get_json_cache("channel")
    print(json_team_cache, json_channel_cache)
    channel_meeting_1 = json_channel_cache["fedora-meeting-1"]["2014-02-04"][
        "minutes"][0]

    team_meeting_1_minutes = json_team_cache["team_one"]["2014-02-04"][
        "minutes"][0]
    team_meeting_1_logs = json_team_cache["team_one"]["2014-02-04"]["logs"][0]

    assert channel_meeting_1 == "fedora-meeting-1.2014-02-04-20.11.html"

    assert team_meeting_1_minutes == "team_one.2014-02-04-20.11.html"
    assert team_meeting_1_logs == "team_one.2014-02-04-20.11.log.html"
예제 #3
0
파일: runmote.py 프로젝트: alick/mote
def main():
    # generate cache
    soke.run()
    app.run(debug=mote.config.enable_debug , port=mote.config.app_port, host=mote.config.app_host)