Unit test for interface_fetch_event routines. More...
Public Member Functions | |
def | test_set_get_datetime |
Test set/get_datetime. More... | |
def | test_get_set_datetime_fileevent |
Test get/set_datetime for fileevent tables. More... | |
def | test_get_set_datetime_event |
Test get/set_datetime for event tables. More... | |
def | test_find_version_fileevent |
Test find_version for fileevent tables. More... | |
def | test_find_version_event |
Test find_version for event tables. More... | |
Unit test for interface_fetch_event routines.
More readable unittest outputs
For ADAPT, look at all folder YYYY, not only the current year
Unittests get/set_* does not work
def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_find_version_event | ( | self | ) |
Test find_version for event tables.
For a all files in DB (if any), find their version and compare with DB info.
def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_find_version_fileevent | ( | self | ) |
Test find_version for fileevent tables.
For a all files in DB (if any), find their version and compare with DB info.
def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_get_set_datetime_event | ( | self | ) |
Test get/set_datetime for event tables.
For a all files in DB (if any), find their datetime (get_datetime) and rebuild filename (set_datetime).
def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_get_set_datetime_fileevent | ( | self | ) |
Test get/set_datetime for fileevent tables.
For a all files in DB (if any), find their datetime (get_datetime) and rebuild filename (set_datetime).
def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_set_get_datetime | ( | self | ) |
Test set/get_datetime.
For a given datetime.datetime object and for all fetch types, create a filename, then find in it the date.