예제 #1
0
def _setup():
    global events, guid1, guid2, guid3, time_stamp

    events = Events(MagicMock())
    events.get_utc_date_time = MagicMock()
    time_stamp = events.get_utc_date_time()
    guid1 = generate_uuid()
    guid2 = generate_uuid()
    guid3 = generate_uuid()
예제 #2
0
def _setup():
    global events, guid1, guid2, guid3, time_stamp

    events = Events(MagicMock())
    events.get_utc_date_time = MagicMock()
    time_stamp = events.get_utc_date_time()
    guid1 = generate_uuid()
    guid2 = generate_uuid()
    guid3 = generate_uuid()
def _setup():
    global spark_events, guid1, guid2, guid3, time_stamp

    spark_events = SparkEvents()
    spark_events.handler = MagicMock()
    spark_events.get_utc_date_time = MagicMock()
    spark_events._verify_language_ok = MagicMock()
    time_stamp = spark_events.get_utc_date_time()
    guid1 = generate_uuid()
    guid2 = generate_uuid()
    guid3 = generate_uuid()
예제 #4
0
def _setup():
    global spark_events, guid1, guid2, guid3, time_stamp

    spark_events = SparkEvents()
    spark_events.handler = MagicMock()
    spark_events.get_utc_date_time = MagicMock()
    spark_events._verify_language_ok = MagicMock()
    time_stamp = spark_events.get_utc_date_time()
    guid1 = generate_uuid()
    guid2 = generate_uuid()
    guid3 = generate_uuid()
예제 #5
0
 def _generate_uuid():
     return generate_uuid()
예제 #6
0
 def _generate_uuid():
     return generate_uuid()