Created
May 5, 2014 16:38
-
-
Save anxiousmodernman/11541626 to your computer and use it in GitHub Desktop.
This file contains hidden or 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_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