def test_available(self):
    '\n        When the OpenSSL functionality is available the decorated functions\n        work appropriately.\n        '
    feature_guard = _make_requires(True, 'Error text')
    results = []

    @feature_guard
    def inner():
        results.append(True)
        return True
    assert (inner() is True)
    assert ([True] == results)
When the OpenSSL functionality is available the decorated functions
work appropriately.
def test_available(self):
    '\n        When the OpenSSL functionality is available the decorated functions\n        work appropriately.\n        '
    feature_guard = _make_requires(True, 'Error text')
    results = []

    @feature_guard
    def inner():
        results.append(True)
        return True
    assert (inner() is True)
    assert ([True] == results)