Skip to content

Instantly share code, notes, and snippets.

@anxiousmodernman
Created May 5, 2014 16:38
Show Gist options
  • Save anxiousmodernman/11541626 to your computer and use it in GitHub Desktop.
Save anxiousmodernman/11541626 to your computer and use it in GitHub Desktop.
def test_parse_activestatus(self):
self.results = fetch_main_briefs()
f = lambda x: x['brief_name'] == 'AAAA'
aaaa = filter(f, self.results).pop()
returned_status = parse_activestatus(aaaa['activestatus'])
self.assertTrue(returned_status, msg="Should parse activestatus code to True.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment