Beispiel #1
0
def test_duplicate_transform(duplicate_rdd):
    actual = transform_pings(duplicate_rdd)
    expected = {'windows': 2, 'darwin': 1, 'linux': 1}

    assert actual == expected
Beispiel #2
0
def test_duplicate_transform(duplicate_rdd):
    actual = transform_pings(duplicate_rdd)
    expected = {"windows": 2, "darwin": 1, "linux": 1}

    assert actual == expected
Beispiel #3
0
def test_simple_transform(simple_rdd):
    actual = transform_pings(simple_rdd)
    expected = {'windows': 2, 'darwin': 1, 'linux': 1}

    assert actual == expected
Beispiel #4
0
def test_simple_transform(simple_rdd):
    actual = transform_pings(simple_rdd)
    expected = {"windows": 2, "darwin": 1, "linux": 1}

    assert actual == expected