def test_convert_time_format():
    """test the translation function for the time format (from Cisco API to python)"""
    assert api_crawler.convert_time_format("YYYY-MM-DD") == "%Y-%m-%d"
    assert api_crawler.convert_time_format("DD-MM-YYYY") == "%Y-%m-%d"
def test_convert_time_format():
    """test the translation function for the time format (from Cisco API to python)"""
    assert api_crawler.convert_time_format("YYYY-MM-DD") == "%Y-%m-%d"
    assert api_crawler.convert_time_format("DD-MM-YYYY") == "%Y-%m-%d"