Using FS mtime to reload non recursive cache.
[pyTivo.git] / Cheetah / Tests / FileRefresh.py
blob4beb3e7aa5e2a13bcb78a73f1a8fc6e68e5ed14f
1 #!/usr/bin/env python
2 # $Id: FileRefresh.py,v 1.6 2002/10/01 17:52:03 tavis_rudd Exp $
3 """Tests to make sure that the file-update-monitoring code is working properly
5 THIS TEST MODULE IS JUST A SHELL AT THE MOMENT. Feel like filling it in??
7 Meta-Data
8 ================================================================================
9 Author: Tavis Rudd <tavis@damnsimple.com>,
10 Version: $Revision: 1.6 $
11 Start Date: 2001/10/01
12 Last Revision Date: $Date: 2002/10/01 17:52:03 $
13 """
14 __author__ = "Tavis Rudd <tavis@damnsimple.com>"
15 __revision__ = "$Revision: 1.6 $"[11:-2]
18 ##################################################
19 ## DEPENDENCIES ##
21 import sys
22 import types
23 import os
24 import os.path
27 import unittest_local_copy as unittest
28 from Cheetah.Template import Template
30 ##################################################
31 ## CONSTANTS & GLOBALS ##
33 try:
34 True,False
35 except NameError:
36 True, False = (1==1),(1==0)
38 ##################################################
39 ## TEST DATA FOR USE IN THE TEMPLATES ##
41 ##################################################
42 ## TEST BASE CLASSES
44 class TemplateTest(unittest.TestCase):
45 pass
47 ##################################################
48 ## TEST CASE CLASSES
51 ##################################################
52 ## if run from the command line ##
54 if __name__ == '__main__':
55 unittest.main()