(self)
| 192 | |
| 193 | @support.requires_resource('walltime') |
| 194 | def test_data_header(self): |
| 195 | with self.urlretrieve(self.logo) as (file_location, fileheaders): |
| 196 | datevalue = fileheaders.get('Date') |
| 197 | dateformat = '%a, %d %b %Y %H:%M:%S GMT' |
| 198 | try: |
| 199 | time.strptime(datevalue, dateformat) |
| 200 | except ValueError: |
| 201 | self.fail('Date value not in %r format' % dateformat) |
| 202 | |
| 203 | def test_reporthook(self): |
| 204 | records = [] |
nothing calls this directly
no test coverage detected