Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
eth-brownie / brownie / test / managers / utils.py
Size: Mime:
#!/usr/bin/python3

OUTCOMES = [
    (".", "passed"),
    ("s", "skipped"),
    ("F", "failed"),
    ("E", "error"),
    ("x", "xfailed"),
    ("X", "xpassed"),
]


def convert_outcome(value):
    return next(next(x for x in i if x != value) for i in OUTCOMES if value in i)