| 845 | |
| 846 | |
| 847 | class TestConfiguration(object): |
| 848 | def __init__(self, context, root, section): |
| 849 | self.context = context |
| 850 | self.root = root |
| 851 | self.section = section |
| 852 | |
| 853 | def Contains(self, path, file): |
| 854 | if len(path) > len(file): |
| 855 | return False |
| 856 | for i in range(len(path)): |
| 857 | if not path[i].match(NormalizePath(file[i])): |
| 858 | return False |
| 859 | return True |
| 860 | |
| 861 | def GetTestStatus(self, sections, defs): |
| 862 | status_file = join(self.root, '%s.status' % self.section) |
| 863 | if exists(status_file): |
| 864 | ReadConfigurationInto(status_file, sections, defs) |
| 865 | |
| 866 | |
| 867 | class TestSuite(object): |
no outgoing calls
searching dependent graphs…