mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
- use TEST_DEPENDS for tinderbox builds - add OPTIONS for unit tests - add regression-test target - add the upstream patch to fix tests [1] PR: 172851 Submitted by: Kubilay Kocak <koobs.freebsd at gmail dot com> Approved by: Ildar Hizbulin <hizel at vyborg dot ru> (maintainer) [1] Feature safe: yes
11 lines
470 B
Python
11 lines
470 B
Python
--- supervisor/tests/test_childutils.py
|
|
+++ supervisor/tests/test_childutils.py
|
|
@@ -41,7 +41,7 @@ class ChildUtilsTests(unittest.TestCase):
|
|
|
|
def test_get_asctime(self):
|
|
from supervisor.childutils import get_asctime
|
|
- timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, 0))
|
|
+ timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, -1))
|
|
result = get_asctime(timestamp)
|
|
self.assertEqual(result, '2009-01-18 22:14:07,000')
|
|
|