Created
March 27, 2013 19:24
-
-
Save ryansb/5257235 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 fpo(opt): | |
def fakereturn(noop): | |
return opt.pop(0) | |
return fakereturn | |
mock (pythong.project.prompt_optionlist = fpo(["Development Status", None, "Operating Systems", "Linux", "Fedora"])) | |
from pythong.classifiers import CLASSIFIERS | |
assert(recurse_prompt(CLASSIFIERS) == "Operating Systems :: Linux :: Fedora") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment