verifiers/addressDataMatch.py [18:36]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
try:
    # pycalendar is optional
    from pycalendar.vcard.card import Card
except ImportError:
    pass
import os

"""
Verifier that checks the response body for a semantic match to data in a file.
"""


class Verifier(object):

    def verify(self, manager, uri, response, respdata, args, is_json=False):  # @UnusedVariable
        # Get arguments
        files = args.get("filepath", [])
        if manager.data_dir:
            files = map(lambda x: os.path.join(manager.data_dir, x), files)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



verifiers/calendarDataMatch.py [18:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
try:
    # pycalendar is optional
    from pycalendar.icalendar.calendar import Calendar
    from pycalendar.icalendar.componentrecur import ComponentRecur
    from pycalendar.parameter import Parameter
except ImportError:
    pass
import os

"""
Verifier that checks the response body for a semantic match to data in a file.
"""


class Verifier(object):

    def verify(self, manager, uri, response, respdata, args, is_json=False):  # @UnusedVariable
        # Get arguments
        files = args.get("filepath", [])
        if manager.data_dir:
            files = map(lambda x: os.path.join(manager.data_dir, x), files)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



