test_register_function

./lib/python/temporal – test_register_function

Test failed

Testtest_register_function
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/test_register_function.py
StatusFAILED
Return code1
Number of tests24
Successful tests1
Failed tests33
Percent successful4%
Test duration0:00:22.623774

Supplementary files

Standard error output (stderr)

... (lines omitted)
AssertionError: datetime.datetime(2001, 1, 1, 0, 0) != datetime.datetime(2001, 2, 1, 0, 0)

======================================================================
FAIL: test_absolute_time_strds_4 (__main__.TestRasterRegisterFunctions)
Test the registration of maps with absolute time in a
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_register_function.py", line 166, in test_absolute_time_strds_4
    self.assertEqual(start, datetime.datetime(2001, 2, 1))
AssertionError: datetime.datetime(2001, 1, 1, 0, 0) != datetime.datetime(2001, 2, 1, 0, 0)

======================================================================
FAIL: test_relative_time_1 (__main__.TestRasterRegisterFunctions)
Test the registration of maps with relative time
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_register_function.py", line 334, in test_relative_time_1
    self.assertEqual(start, 0)
AssertionError: None != 0

======================================================================
FAIL: test_relative_time_2 (__main__.TestRasterRegisterFunctions)
Test the registration of maps with relative time
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_register_function.py", line 355, in test_relative_time_2
    self.assertEqual(start, 1000000)
AssertionError: None != 1000000

======================================================================
FAIL: test_relative_time_3 (__main__.TestRasterRegisterFunctions)
Test the registration of maps with relative time. The timetsamps are set beforehand using
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_register_function.py", line 380, in test_relative_time_3
    self.assertEqual(start, 1000000)
AssertionError: None != 1000000

======================================================================
FAIL: test_absolute_time_stvds_3 (__main__.TestVectorRegisterFunctions)
Test the registration of maps with absolute time in a
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_register_function.py", line 514, in test_absolute_time_stvds_3
    self.assertEqual(start, datetime.datetime(2001, 2, 1))
AssertionError: datetime.datetime(2001, 1, 1, 0, 0) != datetime.datetime(2001, 2, 1, 0, 0)

----------------------------------------------------------------------
Ran 24 tests in 21.597s
FAILED (failures=8, errors=25)