Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock connection error #197

Merged
merged 25 commits into from
Jul 27, 2018
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bb70bcd
Started implementing connection error throws
Amertz08 Jan 10, 2018
6aea29c
updated test cases
Amertz08 Jan 10, 2018
5359bdf
Updated ConnectionError test cases
Amertz08 Jan 10, 2018
f940176
Updated test case to actually fail when decorator does not exist inst…
Amertz08 Jan 10, 2018
17a98dd
Merge branch 'master' into 102-mock-connection-error
Amertz08 Jul 7, 2018
ffb6205
Added venv to ignore file
Amertz08 Jul 7, 2018
4263daa
Added missing check_conn so tests work
Amertz08 Jul 7, 2018
2164cb6
Updated tests and added check decorator as needed
Amertz08 Jul 7, 2018
cbaba98
finished remaining tests
Amertz08 Jul 7, 2018
ef97612
flake8
Amertz08 Jul 7, 2018
269fc1c
Fixed issue with decorator not playing well with _lua_reply
Amertz08 Jul 7, 2018
49db0a3
Modified _patch_responses to take the decorator as a parameter
Amertz08 Jul 10, 2018
5dccd2a
Made connection check decorator private function. Adjusted for use th…
Amertz08 Jul 10, 2018
c1a80b3
Removed decorator from methods
Amertz08 Jul 10, 2018
fa63151
Adjusted patch_responses call for FakePubSub class
Amertz08 Jul 10, 2018
0fa4e3c
Adjusted test cases for access to connected attribute
Amertz08 Jul 10, 2018
ed56f4a
Connection error decorator should be patched to response regardless o…
Amertz08 Jul 11, 2018
dc3e59e
ConnectionError message
Amertz08 Jul 11, 2018
bfe919b
Updated README with documentation on mocking connection errors
Amertz08 Jul 11, 2018
03615de
Proper indentation in README
Amertz08 Jul 11, 2018
71e89ba
_check_conn should be patched on before decode_responses
Amertz08 Jul 11, 2018
8412e25
Spacing fix on documentation
Amertz08 Jul 11, 2018
6f301b3
Patched connection error decorator to PubSub class. Added test cases
Amertz08 Jul 26, 2018
75dced3
Connected arg after decode arg in FakePubSub
Amertz08 Jul 27, 2018
28cae30
Renamed test attribute redis to pubsub
Amertz08 Jul 27, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading