test #1643
(self)
| 288 | ) |
| 289 | |
| 290 | def test_generates_a_date(self): |
| 291 | """test #1643""" |
| 292 | script = ScriptDirectory( |
| 293 | _get_staging_directory(), |
| 294 | file_template="%(rev)s_%(slug)s_" |
| 295 | "%(year)s_%(month)s_" |
| 296 | "%(day)s_%(hour)s_" |
| 297 | "%(minute)s_%(second)s", |
| 298 | timezone="utc", |
| 299 | ) |
| 300 | # generates a date with no warnings |
| 301 | eq_(script._generate_create_date(), mock.ANY) |
| 302 | |
| 303 | def test_default_tz(self): |
| 304 | self._test_tz( |
nothing calls this directly
no test coverage detected