Tidied up the recording script to use named variables, and added an optional file...
[recordtv.git] / src / test_recordtv
blob75eda7f5f2dff0345272cb225d193df559a688fb
1 #!/usr/bin/python
3 import rtv_download
4 import rtv_schedule
5 import rtv_tvguide
6 import rtv_delete
7 import rtv_convert
8 import rtv_propertiesfile
9 import test.schedule
11 from rtv_config import GTVGConfig
13 def test_fast():
14 config = GTVGConfig( [], [] )
16 rtv_propertiesfile.test()
17 rtv_schedule.test( config )
19 def test_slow():
20 test.schedule.test_slow()
22 def main():
24 test_fast()
25 test_slow()
27 print "All tests passed."
29 if __name__ == "__main__":
30 main()