Skip to content

Instantly share code, notes, and snippets.

@evanp
Created October 8, 2015 17:18
Show Gist options
  • Save evanp/b49c3fc37caa21a323a1 to your computer and use it in GitHub Desktop.
Save evanp/b49c3fc37caa21a323a1 to your computer and use it in GitHub Desktop.
example of dumping the activity type for a test suite
import activitystreams
json = parseCommandLineFileArgument()
activity = Activity.fromJSON(json)
print activity.type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment