Created
May 10, 2018 00:28
-
-
Save asgillmor/290727f193efedaab927f94107122edf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_business_filters(self, business_rdd): | |
expected_businesses = [5, 6, 8, 9, 10] | |
assert sorted(expected_businesses) == sorted( | |
business_rdd.filter(business_filters).map(lambda l: l['id']).collect()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment