Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Removing the mocking in the docs -- refs #52 #85

Merged
merged 1 commit into from

3 participants

@alex
Owner

No description provided.

@coveralls

Coverage Status

Coverage remained the same when pulling f02027a on alex:remove-mocking into 904698d on pyca:master.

@warner
Collaborator

yay negative code days

@warner warner merged commit 20bb77b into pyca:master

1 check passed

Details continuous-integration/travis-ci The Travis CI build passed
@alex alex deleted the alex:remove-mocking branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 13, 2014
  1. @alex
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 25 deletions.
  1. +0 −25 docs/conf.py
View
25 docs/conf.py
@@ -186,28 +186,3 @@
# Enable the new ReadTheDocs theme
RTD_NEW_THEME = True
-
-
-# Mock out CFFI
-class Mock(object):
- def __init__(self, *args, **kwargs):
- pass
-
- def __call__(self, *args, **kwargs):
- return Mock()
-
- @classmethod
- def __getattr__(cls, name):
- if name in ('__file__', '__path__'):
- return '/dev/null'
- else:
- return Mock()
-
- def __floordiv__(self, other):
- return Mock()
-
-MOCK_MODULES = [
- "cffi", "cffi.vengine_cpy", "cffi.vengine_gen", "cffi.verifier",
-]
-for mod_name in MOCK_MODULES:
- sys.modules[mod_name] = Mock()
Something went wrong with that request. Please try again.